I have used Cpanel to generate and install a self-signed certificate for HTTPS and now that I have installed phpMyAdmin once I access phpMyAdmin via HTTPS it throws out an error 500 message.

Why is this?

  • 1
    Check your Apache's error log -- it will have good enough detailed error message.
    – LazyOne
    Nov 12 '11 at 0:03

One thing you could test (although first I would follow LazyOne's advice and check the error logs) is that you have a vhost set up for listening to SSL traffic, it could be that your server is listening on the right port but once traffic comes in it isn't being handled.

An example (borrowed from here, slightly changed by me) would be.

<VirtualHost *:443>
    DocumentRoot /path/to/site
    ServerName www.yourdomain.com
    SSLEngine on
    SSLCertificateFile /path/to/your_domain_name.crt
    SSLCertificateKeyFile /path/to/your_private.key
    SSLCertificateChainFile /path/to/DigiCertCA.crt

cPanel should handle this but I am not sure if it always does it correctly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.