Effective February 15, 2021, the CodeGuard support center will be merging with the Sectigo support center. This means that support emails will come from support@codeguard.com, and the knowledge base will be hosted on sectigo.com. There will be no interruption of our services, and you will continue to receive top of the line support during and after this transition.

Is my private key set up properly?

When adding a website with a private key, there are a few things you will need to do before you can add your website with it.

To begin, make sure that your private key is in RSA or DSA format. You will see one of these acronyms at the beginning of the key. For example:

key___codeguard.png

If your key is in a different format like .ppk, you will need to either reformat it or create a new one in RSA or DSA format.

The second thing you will need to do is make sure that the public key in your key pair has been authorized. If you use cPanel, you can follow these steps from the "Shell Access" section of your cPanel:

1. In the Shell Access section of your cPanel, your public key will be listed as "authorized" or "not authorized". If it is not authorized, click "Manage"

cPanel_-_SSH_Access_manage.png

2. Click "Authorize"

cPanel_-_SSH_Access_authorize.png

Next, you will need to decrypt the private key. You will need to know your private key's password that you used when you created it. If you don't have this, you will need to create a new private key. To decrypt your private key, follow these steps:

1. From the Shell Access section of your cPanel, click "View/Download" next to the private key

cPanel_-_SSH_Access_view_download.png

2. Click "Download Key"

cPanel_-_SSH_Access_download.png

3. From your terminal run the following command: openssl rsa -in path/to/file -out path/to/new/file

terminal_command.png

You will then be prompted for the key's password.

4. Open the new file, and you'll see your decrypted private key ready to go with CodeGuard

key.png

 



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request