I was able to use SSL Apache on Linux just fine with a self-signed certificate. I just got a real one, and I'm not able to make it work. The error message i get is:
SSL Library Error: 185073780 error:0B080074:x
509 certificate routines:X509_check_private_key:key values mismatch
I've already checked the modulus and the public exponent on the key-certificate pair - they match:
# openssl rsa -noout -modulus -in server.key | openssl md5
51e303a740d03836f17fe6a3c0f1288e
# openssl x509 -noout -modulus -in server.crt | openssl md5
51e303a740d03836f17fe6a3c0f1288e
The funniest thing is, these same exact files work on my Windows XAMPP installation (my development environment is Windows, and test server is Linux).
Any ideas?
Thanks in advance!