SSL証明書の入れ替え後、apache再起動したら失敗したときのメモ。
[error] Unable to configure RSA server private key [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
# openssl req -text -noout -in hoge.csr (snip) Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (2048 bit) Modulus (2048 bit): 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee: (snip)
# openssl x509 -text -noout -in hoge.crt (snip) Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (2048 bit) Modulus (2048 bit): 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee: (snip)