| @@ -0,0 +1,9 @@ | |||
| 1 | + | # openssl | |
| 2 | + | ||
| 3 | + | * testing OpenSSL connections with client certificate auth: | |
| 4 | + | ||
| 5 | + | `openssl s_client -connect domain.com:443 -cert /path/to/cert.pem -key /path/to/key.key` | |
| 6 | + | ||
| 7 | + | * viewing SSL certificate returned by remote server: | |
| 8 | + | ||
| 9 | + | `echo | openssl s_client -connect hosting.simonweald.com:465 2>/dev/null | openssl x509 -text` | |
simon revised this gist 1 month ago · e51b2b0
1 file changed, 9 insertions