Differences

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

Link to this comparison view

Next revision
Previous revision
security:openssl [2021/09/14 14:34] – created gerardorourkesecurity:openssl [2026/08/13 11:37] (current) – [Retrieve the Certificate for a specific FQDN / TCP Port] gerardorourke
Line 1: Line 1:
-====== Open SSL ======+====== Open SSL TIPS ====== 
 + 
 +===== Check TLS Version supported by a Server ===== 
 + 
 +<code> 
 +openssl s_client -connect www.google.com:443 -tls1_3 
 +openssl s_client -connect www.google.com:443 -tls1_2 
 +openssl s_client -connect www.google.com:443 -tls1_1 
 +openssl s_client -connect www.google.com:443 -tls1 
 +</code> 
 + 
 +===== Retrieve the Certificate for a specific FQDN / TCP Port===== 
 + 
 +<code>openssl s_client -connect <hostname>:<port> -showcerts</code> 
 +<code>openssl s_client -connect sse9.public.wamswxc-p-2.prod.infra.webex.com:8934 -showcerts</code> 
 + 
 + 
 + 
 + 
 +===== SSL Commands=====
 **openssl** command to view the "purpose" of a certificate **openssl** command to view the "purpose" of a certificate
 +
 +<code>openssl x509 -in <certificate-file> -text -noout -purpose</code>
 +Reference: https://www.sslshopper.com/article-most-common-openssl-commands.html
  
 <code> <code>
  • security/openssl.1631626486.txt.gz
  • Last modified: 2021/09/14 14:34
  • by gerardorourke