如何检查 letsencrypt ssl 证书是否已安装?

如何检查 letsencrypt ssl 证书是否已安装?

我在我的 WHM 中安装了 Lets Encrypt 插件并在我的其中一个站点上运行它,但是当我检查 sslshopper 站点以确认证书是否已安装时,它显示:

Common name: example.io
SANs: example.io, cpanel.example.io, mail.example.io, webdisk.example.io, webmail.example.io, www.example.io
Valid from December 25, 2018 to March 26, 2019
Serial Number: 3471bd46e8f1080f957b391a3cd9c655
Signature Algorithm: sha256WithRSAEncryption
Issuer: cPanel, Inc. Certification Authority



Common name: cPanel, Inc. Certification Authority
Organization: cPanel, Inc.
Location: Houston, TX, US
Valid from May 17, 2015 to May 17, 2025
Serial Number: f01d4bee7b7ca37b3c0566ac05972458
Signature Algorithm: sha384WithRSAEncryption
Issuer: COMODO RSA Certification Authority  

Common name: COMODO RSA Certification Authority
Organization: COMODO CA Limited
Location: Salford, Greater Manchester, GB
Valid from May 30, 2000 to May 30, 2020
Serial Number: 2766ee56eb49f38eabd770a2fc84de22
Signature Algorithm: sha384WithRSAEncryption
Issuer: AddTrust External CA Root

所以我很疑惑 Letsencrypt 是否安装了

答案1

我想说检查的网站是不是用一个让我们加密证明书:应显示让我们加密作为第一个发行人:


我使用这个命令来检查网站:

openssl s_client -servername example.io -connect example.io:443 </dev/null

如果证书是由 Let's Encrypt 颁发的,我希望在输出中找到以下内容:

Certificate chain
 0 s:/CN=example.io
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3

相关内容