问题:安全证书文件.crt(安全证书)和.cert(CERT文件)之间有什么区别
问题:我正在尝试生成一个自签名证书,用于使用XAMPP,APACHE建立SSL连接。问题是当我试图使用.crt文件生成我的生成证书时,我的web服务器(apache)没有基于我的apache_error.log启动:
[Mon Oct 24 17:29:24.358978 2016] [ssl:emerg] [pid 5712:tid 520] AH02577: Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file D:/xampp/apache/conf/moodle1/cbcatmacdapp.cbcmain.chinabank.ph.key)
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] AH02311: Fatal error initialising mod_ssl, exiting. See D:/xampp/apache/logs/error.log for more information
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] AH02564: Failed to configure encrypted (?) private key 172.20.189.183:443:0, check D:/xampp/apache/conf/moodle1/cbcatmacdapp.cbcmain.chinabank.ph.key
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA)
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Mon Oct 24 17:29:24.359976 2016] [ssl:emerg] [pid 5712:tid 520] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
AH00016: Configuration Failed