【发布时间】:2018-01-26 11:01:14
【问题描述】:
当我从中获取所有数据时,我遇到了完全相同的证书的问题。日期的显示方式与 Windows 中的显示方式不同。
在 unix 中我正在执行此命令
openssl x509 -noout -in ca.crt -dates
notBefore=Oct 31 00:00:00 2013 GMT
notAfter=Oct 30 23:59:59 2023 GMT
我在 Windows 中打开完全相同的证书,日期显示如下:
notBefore: Wednesday, October 30, 2013 6:00:00 PM
notAfter: Monday, October 30, 2023 5:59:59 PM
如您所见,日期不匹配。
我不确定是否是“GMT”时区或可能是什么问题,你知道问题是什么吗?
哪个日期可能是正确的? Unix 还是 Windows?
【问题讨论】:
标签: windows date openssl ssl-certificate utc