Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

openssl command

$ echo | openssl s_client -connect redhat.com:443 -brief
CONNECTION ESTABLISHED
Protocol version: TLSv1.2
Ciphersuite: ECDHE-RSA-AES128-GCM-SHA256
Peer certificate: C = US, ST = North Carolina, L = Raleigh, O = "Red Hat, Inc.", OU = Information Technology, CN = *.redhat.com
Hash used: SHA256
Signature type: RSA
Verification: OK
Supported Elliptic Curve Point Formats: uncompressed
Server Temp Key: ECDH, P-256, 256 bits
DONE
Source by www.redhat.com #
 
PREVIOUS NEXT
Tagged: #openssl #command
ADD COMMENT
Topic
Name
4+5 =