Why am a I getting a "The key is password protected. Please strip the password and re-submit."? Error message

If you're uploading your own certificate to Cloudflare, you will need to remove the passphrase from the hey file.

To remove a passphrase from a key file:

Locate your key file and look at it to see if it contains a passphrase.

 head mydomain.com.key

The key file contains a passphrase if it begins with text like this (with Proc-Type: and DEK-Info:):
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,91B305001070B5FD

4/3Oaf8n4XyhUG6Q07/HWuqEkCcXujrJ+dJXgzPAleuKKjxOtN7LHZTvGlXQge/V
If the key file contains a passphrase, remove it with these commands:

cp mydomain.com.key temp.key
openssl rsa -in temp.key -out mydomain.com.key
Enter the original key's passphrase when prompted.

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk