Sometimes, we get the error Invalid certificate format, file: server.key
when, try to install a certificate and key on the site.
To deal with such kind of situation, we try to install our certificate and key on our site, and we need to remove encryption and enter it in clear-text format. Encryption can be deleted with the OpenSSL utility of Unix Shell on any Unix server where OpenSSL utility pack installed, for example on the Control Panel box.
- We have to Put our encrypted Private Key into a separate file and save it as server_old.key
- In Unix Shell, following command has to be executed: openssl rsa -in server_old.key -out server.key
- Enter the password when prompted.
- A new file (server.key) will be generated. It will contain the Private Key in a plain text format.
Compnay Name | Price | Visit Now |
![]() |
"Best Web Hosting" $2.75 /mo. |
Visit Site |
![]() |
"Best Shared Hosting" $3.92/mo. |
Visit Site |
![]() |
"Hybrid Smart Servers" $29 /mo. |
Visit Site |
![]() |
"Managed WordPress Hosting" $99 /mo. |
Visit Site |
![]() |
"Best Windows VPS Hosting" $29.99 /mo. |
Visit Now |
![]() |
"Best Affordable Hosting" $3.95 /mo. |
Visit Site |
![]() |
"Best Business Hosting" £3.57 /mo. |
Visit Site |
![]() |
"Cheapest WebHosting" $1.99 /mo. |
Visit Site |