Skip to main content

Certificates and keys

There are two ways of inserting a key or certificate.

  1. Direct inserting

  2. Extracting from the file (P12, PFX or PEM)

  1. You need the file that contains RSA PRIVATE KEY.

  2. Copy your key from the file. It should begin and end like this:

    -----BEGIN RSA PRIVATE KEY-----

    .....

    -----END RSA PRIVATE KEY-----

  3. Paste the key directly in the following field:

    cerificates_and_key_1.png

    Note

    OPENSSH PRIVATE KEY is not supported. This has to be converted using the following command in Terminal: ssh-keygen -p -m PEM -f <pathToTheKey>. For Windows, you can use the PuTTy key generator.

To make everything easier, you can extract a Private Key or Certificate using our key extraction function. This function also allows you to extract the key from encrypted files.

The supported file formats are P12PFX, and PEM.

There are two types of fields in the certificate extraction dialog:

  • Private key

    certificates_and_keys_2.png
  • Certificate

    certificates_and_keys_3.png

These two options specify which value will be extracted from the provided file.

Example of use - key extraction

For example, when you create a Linux Based EC2 instance on AWS, you receive the login credentials in the PEM file:

certificates_and_keys_4.png

The file contains the private key that is used to connect to the instance.

certificates_and_keys_5.png
  1. Go to the module's Create a connection dialog and click the Extract button in Advanced Settings.

    certificates_and_keys_6.gif
  2. In the Extract dialog, select the Private Key option to extract the private key from the provided file.

  3. Click the Choose Files button, browse and Open the desired file.

    certificates_and_keys_7.png
  4. Enter the password to the respective field, if needed.

  5. Click the Save button.

The private key has been exported from your file and will be used to connect to the desired service.

certificates_and_keys_8.png