我之前曾尝试为 apache2 生成服务器证书....
我注意到 Apache 服务器中有一个错误。这意味着 Apache 找不到新 SSL 证书的私钥组件。现在我想删除服务器证书。
命令:
root@wiffyspot1:# /etc/init.d/apache2 restart
* Restarting web server apache2 Action 'start' failed.
我检查了 Apache 错误日志:
[error] Init: Private key not found
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 67710980 error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1