Difference between revisions of "OpenSSL/SSH"
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
: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> | ;openssl s_client -showcerts -connect <system><nowiki>:</nowiki><port> | ||
− | :Get the certificates | + | :Get the certificates available and test connectivity |
;openssl x509 -outform der -in <pemfile> -out <filename>.der -text | ;openssl x509 -outform der -in <pemfile> -out <filename>.der -text | ||
:Convert to DER format. | :Convert to DER format. |
Revision as of 15:14, 9 July 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 available and test connectivity
- openssl x509 -outform der -in <pemfile> -out <filename>.der -text
- Convert to DER format.