Import SSL certificate and private key from one Edge SWG (ProxySG) to another.
search cancel

Import SSL certificate and private key from one Edge SWG (ProxySG) to another.


Article ID: 166133


Updated On:


ProxySG Software - SGOS ISG Proxy Advanced Secure Gateway Software - ASG


Need to migrate an SSL certificate and private key to another Edge SWG (ProxySG) appliance.

Import SSL Cert & private key via management console (option A)
Import SSL Cert & private key via CLI (option B)


Export From Proxy, (where you have the working Certificate) copy the Private Key and Certificate:

1. Login to management console and navigate to Configuration > SSL > Keyrings.
2. Select the keyring/certificate, and click on Edit.
3. Copy the certificate to a notepad file (including the lines containing -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----).
4. Export the private key from the original Edge SWG (ProxySG). To get the private key, login to the CLI and type the following commands:
     #conf t
     #(config ssl)view keypair unencrypted <keyring-name>
                          *This will display the private key if showable
5. Copy that output into a notepad including the lines containing BEGIN RSA PRIVATE KEY and END RSA PRIVATE KEY.

Import to Proxy (Option A, Management Console):

1. Navigate to Configuration > SSL > Keyrings, and Create a new keyring.
2. Give it the same name as the certificate from source Proxy
3. Choose Show key pair
4. Select Import existing private key, then copy the private key from the notepad and click Paste from clipboard.
5. If the private key has a password,  enter that as well; otherwise, untick the Password check box.
6. Click OK and Apply to finish creating of the keyring.
7. Select the new keyring, and click Edit.
8. In the Certificate window, copy the certificate from notepad and select Import > Paste from clipboard
9. Click OK, Close, Apply

Import to Proxy (Option B, CLI):

1. Import private key & certificate
     #conf t
     #(config ssl)inline keyring show <keyring-name> eof                         *copy both Private Key & Certificate, example below
      -----BEGIN RSA PRIVATE KEY-----
      -----END RSA PRIVATE KEY-----
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
2. Validate import
     proxy#(config ssl)view keyring <keyring-name>