Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
1  
Check your Apache's error log -- it will have good enough detailed error message. –  LazyOne Nov 12 '11 at 0:03
add comment

1 Answer 1

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
</VirtualHost>

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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