Knowledgebase
Plesk - I receive a wrong certificate when I open any domain via HTTPS Print this Article
I receive a wrong certificate when I open any domain via HTTPS. I added the certificate under server settings, assigned this certificate to an IP, set default domain for the IP and restarted Apache. But if I open https://domain.tld I still get a localhost.localdomain (or another) default certificate.
Look into /etc/httpd/conf.d/ssl.conf for the line like:
<VirtualHost _default_:443>
If it exists you have to delete/comment this default SSL virtual host starting from the
"<VirtualHost _default_:443>" line and ending with "</VirtualHost>".
Then stop and start (not restart) Apache server.
Look into /etc/httpd/conf.d/ssl.conf for the line like:
<VirtualHost _default_:443>
If it exists you have to delete/comment this default SSL virtual host starting from the
"<VirtualHost _default_:443>" line and ending with "</VirtualHost>".
Then stop and start (not restart) Apache server.
Was this answer helpful?
Related Articles
Java Keytool: commands
Deleting a certificate: keytool -delete -alias aliasname List all of the...
Deleting a certificate: keytool -delete -alias aliasname List all of the...
How do I make my own bundle file from CRT files?
You may do this using you favorite text editor or by using the command line.Example: #...
You may do this using you favorite text editor or by using the command line.Example: #...
Convert certificates formats (PEM/P7B/PFX/DER)
You can change certificate format using OpenSSL commands or SSL Converter tool. The...
You can change certificate format using OpenSSL commands or SSL Converter tool. The...
Changing .crt file into the .cer format
Double-click on the yourwebsite.crt file to open it into the certificate display. In a new...
Double-click on the yourwebsite.crt file to open it into the certificate display. In a new...
Converting .pfx file for use with Apache
Run the following command with open SSL: openssl pkcs12 -in mypfxfile.pfx -out...
Run the following command with open SSL: openssl pkcs12 -in mypfxfile.pfx -out...