User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unix:unix [2019/08/19 09:51]
ap [Generate a SSL self-signed certificate]
unix:unix [2019/11/08 09:15] (current)
ap [Test SSL connection with client certificate]
Line 260: Line 260:
   openssl s_client -connect​443 -cert ./​mycert.pem -key ./mykey.pem -CAfile ./​myprivateCA.pem -msg -debug   openssl s_client -connect​443 -cert ./​mycert.pem -key ./mykey.pem -CAfile ./​myprivateCA.pem -msg -debug
   curl -k --cert ./​mycert.pem --key ./mykey.pem "​https://​"​   curl -k --cert ./​mycert.pem --key ./mykey.pem "​https://​"​
 +  curl --cacert ./​myprivateCA.pem --cert ./​mycert.pem --key ./mykey.pem "​https://​"​
 +==== Show certificate chain ====
 +  # No SNI
 +  :|openssl s_client -showcerts -connect​443
 +  # SNI
 +  :|openssl s_client -servername -showcerts -connect​443
 ==== Test SSL connection "​forcing"​ the IP ==== ==== Test SSL connection "​forcing"​ the IP ====
unix/unix.1566208311.txt · Last modified: 2019/08/19 09:51 by ap

Informativa sui cookie