wiki:openssl_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:openssl_commands [2022/10/21 15:14] – add Additional commands that can be used to inspect Certificates antisa | wiki:openssl_commands [2024/06/12 12:21] (current) – [References] add using-openssl-to-get-the-certificate-from-a-server antisa | ||
---|---|---|---|
Line 35: | Line 35: | ||
===== Get cert file from site ===== | ===== Get cert file from site ===== | ||
- | openssl s_client -connect example.com: | + | openssl s_client -connect example.com: |
+ | |||
+ | <WRAP center round info 60%> | ||
+ | -connect can be the IP address of a server and is not necessarily the same as the -servername. Use -servername when sharing multiple SSL hosts on a single IP address, | ||
+ | </ | ||
===== Get OCSP stapling info ===== | ===== Get OCSP stapling info ===== | ||
Line 99: | Line 103: | ||
openssl x509 -in google.com-cert -noout -ext authorityKeyIdentifier | openssl x509 -in google.com-cert -noout -ext authorityKeyIdentifier | ||
+ | |||
+ | |||
+ | ====== See also ====== | ||
+ | * [[wiki: | ||
+ | |||
====== References ====== | ====== References ====== | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// |
wiki/openssl_commands.1666365282.txt.gz · Last modified: 2022/10/21 15:14 by antisa