How to Fix an Encrypted SSL Private Key

If your SSL key is encrypted, you'll first need to decrypt it before using it to secure your app with HTTPS.

Most SSL keys are not encrypted. You only need this tutorial if you're having a problem due to an encrypted key.

Identifying Encrypted Keys

You'll know your SSL key is encrypted if you get the following message in SellCloud when entering your key:

Key cannot be encrypted (password protected)

You can also tell a key is encrypted if you look at the key and either

  1. the first line says BEGIN ENCRYPTED PRIVATE KEY; or
  2. one of the next lines says Proc-Type: 4,ENCRYPTED

If your key is encrypted, you'll need to decrypt it before using it.

Fixing Encrypted Keys

To decrypt an SSL private key, run the following command. Replace ssl.key.encrypted with the filename of your encrypted SSL private key.

openssl rsa -in ssl.key.encrypted -out ssl.key.decrypted

The command above will prompt you for the encryption password. The command will then place the decrypted key in the file ssl.key.decrypted. You can then enter the decrypted key and your SSL certificate in SellCloud to enable HTTPS for your website.

Alert: For Control Panel Help & Tutorials, click here: Panel Tutorials
  • 0 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

How to Resolve Mixed Content Warnings on Your SSL Site

If your site does not display correctly or does not show a lock icon in the address bar when...

How to Resolve Security Warnings on Form Submissions

If you receive a security warning like the one above when you submit a form over your...

OCSP Stapling

SellCloud automatically enables OCSP stapling for all SSL-enabled apps, including apps using...

How to Run Multiple SSL Sites on One IP Address

You can run multiple SSL-enabled apps on the same server with a single IP address because...

What Is SSL?

Secure Sockets Layer (SSL) and its successor, Transport Layer Security (TLS), are protocols used...