User Tools

Site Tools


unix:unix

Differences

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 secure.example.com:​443 -cert ./​mycert.pem -key ./mykey.pem -CAfile ./​myprivateCA.pem -msg -debug   openssl s_client -connect secure.example.com:​443 -cert ./​mycert.pem -key ./mykey.pem -CAfile ./​myprivateCA.pem -msg -debug
   curl -k --cert ./​mycert.pem --key ./mykey.pem "​https://​secure.example.com/"​   curl -k --cert ./​mycert.pem --key ./mykey.pem "​https://​secure.example.com/"​
 +  curl --cacert ./​myprivateCA.pem --cert ./​mycert.pem --key ./mykey.pem "​https://​secure.example.com/"​
 +==== Show certificate chain ====
  
 +  # No SNI
 +  :|openssl s_client -showcerts -connect example.com:​443
 +  # SNI
 +  :|openssl s_client -servername example.com -showcerts -connect example.com:​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