compute/ssl-debug.md
... ...
@@ -1,5 +1,4 @@
1
-<!-- TITLE: Ssl Stuff -->
2
-<!-- SUBTITLE: SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT? What the fuck does that mean? -->
1
+# SSL Stuff
3 2
4 3
### Read cert
5 4
`$ echo | openssl s_client -host <hostname> -port 443 | openssl x509 -noout -text`
... ...
@@ -40,4 +39,4 @@ awk 'BEGIN {i=0} /BEGIN CERT/{i++} { print > "cert" i ".pem"}'`
40 39
Compare:
41 40
`openssl x509 -noout -modulus -in <file>.pem
42 41
openssl rsa -noout -modulus -in <file>.key
43
-0penssl req -noout -modulus -in <file>.csr`
... ...
\ No newline at end of file
0
+0penssl req -noout -modulus -in <file>.csr`