SSL Key mismatch error but keys match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A client of ours just renewed his cert.  When we installed the new cert,
apache gave the old:

saero44 ~> tail /usr/local/apache/logs/error_log
[Fri Oct 26 14:27:36 2007] [error] ApacheSSLSetCertStuff failed
[Fri Oct 26 14:28:11 2007] [crit] unable to set private key
[Fri Oct 26 14:28:11 2007] [crit] error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch
[Fri Oct 26 14:28:11 2007] [error] ApacheSSLSetCertStuff failed
[Fri Oct 26 14:28:23 2007] [crit] unable to set private key
[Fri Oct 26 14:28:23 2007] [crit] error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch
[Fri Oct 26 14:28:23 2007] [error] ApacheSSLSetCertStuff failed
[Fri Oct 26 14:40:20 2007] [crit] unable to set private key
[Fri Oct 26 14:40:20 2007] [crit] error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch
[Fri Oct 26 14:40:20 2007] [error] ApacheSSLSetCertStuff failed

Here are the ssl directives from httpd.conf

SSLCertificateFile /home/spectrum/ssl/secure.spectrum.aero.crt
SSLCertificateKeyFile /home/spectrum/ssl/secure.spectrum.aero.key
#SSLCertificateChainFile /home/spectrum/ssl/secure.spectrum.aero.ca-bundle
SSLCACertificateFile /home/spectrum/ssl/secure.spectrum.aero.ca-bundle

saero44 ~> openssl rsa -noout -modulus -in
/home/spectrum/ssl/secure.spectrum.aero.key | openssl md5
bc8baf22c8619f29632dee48a4003ece
saero44 ~> openssl x509 -noout -modulus -in
/home/spectrum/ssl/secure.spectrum.aero.crt | openssl md5
bc8baf22c8619f29632dee48a4003ece
saero44 ~>

When we point the server back to the old certificates, it starts w/o errors.
I'm stumped.  Ideas, anyone?

lh..
http://www.trustix.org/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux