# SSL keys

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/air/llms.txt).

JetBrains Air supports uploading SSL keystores and trusted certificates. A client key is used to identify JetBrains Air as a client when connecting to a third-party server, whereas adding a server certificate as trusted means that you trust the server that possesses a respective key.

The uploaded SSL client keys and trusted certificates can be used to configure secure connection with supported authorization services.

## Prerequisites

* The keystore must be in `PKCS #12` or `JKS` format.

* The keystore must contain a single entry.

## Managing SSL keystores

To view and manage SSL keys, in the sidebar, under Users and access, select Identity providers, then select SSL keys.

Procedure: To upload a new SSL client key:

1. On the `SSL Keys` page, click the Import keystore button.

* The Import Keystore dialog opens.

2. Enter a name for the new keystore and select the target keystore file on your local machine.

3. If the keystore is password protected, enter its password.

4. Click Import to upload the keystore to JetBrains Air.

When the import is finished, the page with the keystore properties is displayed.

Procedure: To quickly view the properties of an SSL key:

1. Select the key in the list.

2. Click the Details button to view properties of the selected SSL key in the sidebar.

Procedure: To edit the name of an SSL key:

1. Click the name of the key in the list to open its properties page.

2. Edit the name and click Save button.

Procedure: To remove an SSL key from JetBrains Air:

1. Select a keystore in the list.

2. Click Delete in the toolbar, then confirm.

## Generate a keystore file

There are several tools that let you create SSL keys and certificates in PKCS #12 format. We describe how to create an SSL key with the [OpenSSL toolkit](https://www.openssl.org).

Procedure: To create an SSL keystore with OpenSSL:

1. Generate a new 2048 bit RSA key with password protection:

```CONSOLE
openssl genrsa -des3 -out saml.key 2048
```

2. Generate a certificate request for the generated key:

```CONSOLE
openssl req -new -key saml.key -out saml.csr
```

3. Generate a certificate:

```CONSOLE
openssl x509 -req -days 365 -in saml.csr -signkey saml.key -out saml.crt
```

4. Package the key and the certificate in a PKCS #12 file:

```CONSOLE
openssl pkcs12 -export -out saml.p12 -inkey saml.key -in saml.crt -name "SAML"
```

