Unable to install an intermediate certificate in virtualmin

Hi,

When I’m trying to copy/paste intermediate certificate into Vhost -> Manage SSL Certificates -> CA Certificate and trying to save, have an error:

Failed to save CA certificate : Invalid certificate file : Certificate does not appear to have a common name

What could be the reason?

Thanks

anyone?

Hi, I have the same problem, have you found a solution please ? With debian 9 and Virtualmin 6

You need to copy the file intermediate.crt to vhost root folder. Than under Configure webiste SSL -> Edit directives add:

SSLCertificateKeyFile …
SSLCertificateChainFile /home/VHOST_NAME/intermediate.crt

thank you

Where is the .crt files?

I was able to solve the same problem! Simply to your VirtualMin > Select the domain > Server Configuration > SSL Certificates. If you have already installed your certificate file (.crt) and private key (.key) then you will need to “CA Certificate” to upload your intermediate certificate file. I recommend to update the file to avoid copy errors as ssl files are very sensitive to change.

Once this is done, go to “Update certificate and key” tab to re-upload your cert file, for the key you can use “keep existing private key” if you have uploaded before it before.

You can restart apache after then. I hope this helps! :slight_smile:

1 Like

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