Server/SSL

[SSL] 인증서 파일 유효기간 확인 명령어

Youngs_ 2022. 3. 31. 14:34

명령어

openssl x509 -in 인증서파일 -noout -dates

결과

$ openssl x509 -in cert.pem -noout -dates
notBefore=Mar 31 03:59:10 2022 GMT
notAfter=Jun 29 03:59:09 2022 GMT