Private key does not corresponds to certificate

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

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.

1 Like

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?

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