Generating SSH keys

Every JSON Web Token is signed with an SSH key. In order to start testing, you will need to generate a key pair and make sure to add the public key of the generated pair to API keys tab in your Fortumo dashboard. Once the public key has been configured for your account, you can start generating payment tokens and proceed with integration and testing.

Make sure to keep the private key of the pair safe, so that third parties would not be able to generate payment requests on your behalf.

Generating SSH keys on MacOS

Step 1. Open Terminal and insert following command: ssh-keygen -m PEM -t rsa -b 4096 -C "your_email@example.com"

sshkey_macos_step1

Step 2. Enter file name

sshkey_macos_step2

Step 3. Do not password protect the keys. When asked for a password, hit enter.

sshkey_macos_step3

Step 4. And you're done. Enter the public key of the pair to your API keys tab in Fortumo dashboard and happy testing!

sshkey_macos_step4

Generating SSH keys on Windows

Step 1. Download and open PuTTYgen

Step 2. Set following options:

  • type of key to generate: rsa
  • number of bits in a generated key: 4096
  • optional: add your e-mail as a comment

sshkey_windows_step2

Step 3. Click "Generate"

sshkey_windows_step3

Step 4. And you're done. Enter the public key of the pair to your API keys tab in Fortumo dashboard and happy testing!

Help us improve our Merchants Portal. Was this article helpful?