Difference between revisions of "OpenSSL"

From wiki
Jump to: navigation, search
(Created page with ";openssl rsa -text -noout -in id_rsa :Print out key attributes (o.a. key length)")
 
Line 1: Line 1:
 +
[[Category:Networking]]
 
;openssl rsa -text -noout -in id_rsa
 
;openssl rsa -text -noout -in id_rsa
 
:Print out key attributes (o.a. key length)
 
:Print out key attributes (o.a. key length)
 +
;openssl s_client -showcerts -connect <system><nowiki>:</nowiki><port>
 +
:Get the certificates for a system
 +
;openssl x509 -outform der -in <pemfile> -out <filename>.der -text
 +
:Convert to DER format.

Revision as of 15:12, 12 June 2019

openssl rsa -text -noout -in id_rsa
Print out key attributes (o.a. key length)
openssl s_client -showcerts -connect <system>:<port>
Get the certificates for a system
openssl x509 -outform der -in <pemfile> -out <filename>.der -text
Convert to DER format.