我有一个godaddy ssl标准证书,我有运行Apache的Ubuntu服务器 我按照这个页面:https://canvas-gauges.com 我得到了apache错误:
[Wed Oct 05 03:42:08.986881 2016] [mpm_prefork:notice] [pid 1060] AH00169: caught SIGTERM, shutting down
[Wed Oct 05 03:42:10.011970 2016] [ssl:warn] [pid 6821] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 05 03:42:10.013567 2016] [ssl:emerg] [pid 6821] AH02561: Failed to configure certificate dott.com:443:0, check /etc/ssl/gdssl/dott_com.crt
[Wed Oct 05 03:42:10.013618 2016] [ssl:emerg] [pid 6821] SSL Library Error: error:0906D06CSmiley TongueEM routinesSmiley TongueEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Wed Oct 05 03:42:10.013661 2016] [ssl:emerg] [pid 6821] SSL Library Error: error:140AD009Smiley FrustratedSL routinesSmiley FrustratedSL_CTX_use_certificate_fileSmiley TongueEM lib
AH00016: Configuration Failed
当我加载证书时
openssl x509 -noout -text -in dott_com.crt -modulus | grep Modulus
我得到了unable to load certificate
服务器名称在godaddy中也是dott.com
,在配置文件中也是
答案 0 :(得分:0)
您可能希望上传证书,以便有人可以检查它是否真的有效。它可能已损坏或您错误地生成它(似乎是日志和错误所说的名称形式)。
务必保密私钥!