Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

httpd 无法启动: RSA server certificate CommonName

[复制链接]
soola 发表于 2005-10-16 23:40:34 | 显示全部楼层 |阅读模式
下面是ssl_error.log的内容;

[Sun Oct 16 23:27:09 2005] [warn] RSA server certificate CommonName (CN) `mailserver' does NOT match server name!?
[Sun Oct 16 23:27:09 2005] [error] Unable to configure RSA server private key
[Sun Oct 16 23:27:09 2005] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
=====================

一些解决方案:
Error: "OpenSSL:error:0B080074:x509 certificate outines:x509_check_private_key:key values mismatch"
This error message occurs if you are using the incorrect certificate or private key during installation. So you need to use the matching key and certificate files. To check that the public key in your cert matches the public portion of your private key, view both files, and compare the modulus values with the following instructions:
To view the certificate:
openssl x509 -noout -text -in certfile
To view the key:
openssl rsa -noout -text -in keyfile

The "modulus" and "public exponent" portions in the key and the certificate must match exactly. If the "modulus" do not match exactly then you are using either the incorrect private key or certificate.

[ 本帖最后由 soola 于 2005-10-16 23:44 编辑 ]
 楼主| soola 发表于 2005-10-16 23:47:28 | 显示全部楼层

difference between Apache Mod_SSL and OpenSSL

There is no difference, the process is the same and the directives used are the same. Apache fails on start up, what could cause this?
If the key file has a passphrase you need to remove it, as Apache cannot read this on start-up, you can do that with the following command: openssl rsa -in file1.key -out file2.key
file2.key will contain your unencrypted key If you used Mozilla to download the file, it may have saved the file in compressed format.

[ 本帖最后由 soola 于 2005-10-17 00:32 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-24 01:22 , Processed in 0.024700 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表