"웹서버 SSL 인증서 확인"의 두 판 사이의 차이

잔글 (Jmnote님이 웹사이트 SSL 인증서 추출 문서를 리눅스 웹사이트 SSL 인증서 추출 문서로 이동했습니다)
12번째 줄: 12번째 줄:
Q2VydCBUTFMgSHlicmlkIEVDQyBTSEEzODQgMjAyMCBDQTEwHhcNMjMxMDE4MDAw
Q2VydCBUTFMgSHlicmlkIEVDQyBTSEEzODQgMjAyMCBDQTEwHhcNMjMxMDE4MDAw
...
...
nsKg/bitAiEA1Vm1pP8CDp7hGcQzBBTscpCVebzWCe8DK231mtv97QUwCgYIKoZI
zj0EAwMDaAAwZQIwKuOOLjmwGgtjG6SASF4W2e8KtQZANRsYXMXJDGwBCi9fM7Qy
zj0EAwMDaAAwZQIwKuOOLjmwGgtjG6SASF4W2e8KtQZANRsYXMXJDGwBCi9fM7Qy
S9dvlFLwrcDg1gxlAjEA5XwJikbpk/qyQerzeUspuZKhqh1KPuj2uBdp8vicuBxu
S9dvlFLwrcDg1gxlAjEA5XwJikbpk/qyQerzeUspuZKhqh1KPuj2uBdp8vicuBxu

2024년 2월 8일 (목) 11:11 판

개요

웹사이트 SSL 인증서 추출
openssl s_client -connect 주소 </dev/null 2>/dev/null | openssl x509 -inform pem -text | sed -n -e '/-.BEGIN/,/-.END/ p'
$ openssl s_client -connect wikipedia.org:443 </dev/null 2>/dev/null | openssl x509 -inform pem -text | sed -n -e '/-.BEGIN/,/-.END/ p'
-----BEGIN CERTIFICATE-----
MIIISzCCB9GgAwIBAgIQB0GeOVg6THbPHqFDR/pfOjAKBggqhkjOPQQDAzBWMQsw
CQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMTAwLgYDVQQDEydEaWdp
Q2VydCBUTFMgSHlicmlkIEVDQyBTSEEzODQgMjAyMCBDQTEwHhcNMjMxMDE4MDAw
...
zj0EAwMDaAAwZQIwKuOOLjmwGgtjG6SASF4W2e8KtQZANRsYXMXJDGwBCi9fM7Qy
S9dvlFLwrcDg1gxlAjEA5XwJikbpk/qyQerzeUspuZKhqh1KPuj2uBdp8vicuBxu
TJUd1W+d3LmikOUgGzil
-----END CERTIFICATE-----
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}