Private key does not corresponds to certificate


#1

Please fill out the fields below so we can help you better.

My domain is:


I ran this command:
cat key.pem
It produced this output:
when i put certificate and private key on hostinger ssl page it is saying private key does not corresponds to certificate
My operating system is (include version):
windows
My web server is (include version):

My hosting provider, if applicable, is:


I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
putty


#2

Hello.

What client did you used to generate the certificate?

What OS your server uses, and what webserver (apache, maybe?). If you have shell access, there is no need to put the certificate nowhere - you can use certbot to do everything for you, including storing and serving the certificate and keys.


#3

In addition to @VladGincher’s questions (which you should also try to answer!), can you tell us which certificate file you put into the web interface along with the key? Is it possible you selected one of the intermediate/chain files instead of the leaf certificate?


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.