Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 nginx conf 文件中,我确定了一个 ssl_certificate。根据 OpenSSL,该证书的结束日期是将来。当我从浏览器访问我的网站时,它说证书已过期。
可能我以前使用过过期的证书,但我不明白浏览器从哪里获取它。有什么建议我应该在哪里看吗?
证书有两个字段 - Valid From 和 Valid To。检查两个参数是否正常,即 Valid From 是过去的,Valid To 是未来的。
当您使用浏览器访问该站点时,它会在地址栏或状态栏中的 URL 左侧显示锁定图标。单击锁定图标将显示浏览器看到的证书。检查此证书是否与您在服务器配置中的证书相对应。