WiresharkでTLSのサーバ証明書に含まれる公開鍵をげっつ
俺得メモ
Client Hello Server Hello, Certificate, Server Hello Done - Secure socket Layer - TLSv1 Record Layer - Handshake Protocol: Certificate - Certificates + Certificate(id-atうんぬん)←これを右クリックして保存 - signedCertificate -subjectPublicKeyInfo subjectPublicKey:XXX←これ余計なヘッダがついてる + Certificate(id-atうんぬん)
% openssl x509 -in hoge.bin -inform DER -text -noout
(゚д゚)ウマー