Written by georg
on Dezember 18, 2018
OpenSSL unterstützt eine nette Option, falls man den Output in einem Script weiterverarbeiten will.
Hier die normale Ausgabe:
openssl x509 -in test.cer -noout -text
Certificate: Data: Version: 3 (0x2) Serial Number: 55:0d:00:d6:79:bf:17:7b Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, O = Google Trust Services, CN = Google Internet Authority G3 Validity Not Before: Nov 27 14:02:00 2018 GMT Not After : Feb 19 14:02:00 2019 GMT Subject: C = US, ST = California, L = Mountain View, O = Google LLC, CN = *.google.com
Und hier die Multiline Ausgabe:
openssl x509 -in test.cer -noout -text -nameopt multiline
Certificate: Data: Version: 3 (0x2) Serial Number: 55:0d:00:d6:79:bf:17:7b Signature Algorithm: sha256WithRSAEncryption Issuer: countryName = US organizationName = Google Trust Services commonName = Google Internet Authority G3 Validity Not Before: Nov 27 14:02:00 2018 GMT Not After : Feb 19 14:02:00 2019 GMT Subject: countryName = US stateOrProvinceName = California localityName = Mountain View organizationName = Google LLC commonName = *.google.com
Schreibe einen Kommentar