카테고리 없음
[openssl] openssl 명령어로 SSL 인증서 파일 정보 확인하기
냐옴
2024. 8. 30. 16:22
# 인증서 정보 전체 확인
openssl x509 -in STAR_mysite_com.crt -noout -text
# 시작일, 만료일 확인 (GMT 시간 주의)
openssl x509 -in STAR_mysite_com.crt -noout -startdate -enddate
# 도메인 확인
openssl x509 -in STAR_mysite_com.crt -noout -subject
# 도움말 확인
openssl x509 --help
-noout No output, just status
-text Print the certificate in text form
-startdate Set notBefore field
-enddate Set notAfter field
-subject Print subject DN