Difference between revisions of "Openssl check cert"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "``` Check a certificate: Check a certificate and return information about it (signing authority, expiration date, etc.) openssl x509 -in server.crt -text -noout Check a key:...")
 
 
Line 1: Line 1:
 +
```
 +
echo "" | openssl s_client -connect google.com:443 2>&1 | grep -A 6 "Certificate cha
 +
in"
 +
```
 +
 
```
 
```
 
Check a certificate:
 
Check a certificate:

Latest revision as of 00:11, 17 October 2023

echo "" | openssl s_client -connect google.com:443 2>&1 | grep -A 6 "Certificate cha
in"
Check a certificate:
Check a certificate and return information about it (signing authority, expiration date, etc.)

openssl x509 -in server.crt -text -noout

Check a key:
Check the SSL key and verify the consistency

openssl rsa -in server.key -check

Check a CSR:
Verify the CSR and print CSR data filled in when generating the CSR

openssl req -text -noout -verify -in server.csr