wiki:openssl_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:openssl_commands [2024/06/12 12:21] – [References] add using-openssl-to-get-the-certificate-from-a-server antisa | wiki:openssl_commands [2025/10/16 08:46] (current) – add CSR check command and fix indent antisa | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Openssl commands ====== | ====== Openssl commands ====== | ||
+ | ===== Check CSR ===== | ||
+ | openssl req -text -noout -verify -in google.com.csr | ||
+ | | ||
===== Get cert expiration date from cert file ===== | ===== Get cert expiration date from cert file ===== | ||
- | openssl x509 -enddate -noout -in / | + | |
===== Verfiy certs ===== | ===== Verfiy certs ===== | ||
- | openssl verify -CAfile certs/ | + | |
- | openssl verify -CAfile certs/ | + | |
===== Query site for expiration date ===== | ===== Query site for expiration date ===== | ||
Line 112: | Line 115: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// |
wiki/openssl_commands.txt · Last modified: by antisa