Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Check Key File, Using OpenSSL

From RZWiki


Image:linux-logo-large.png Image:Application-certificate.svg

To check a public or private key file using OpenSSL;

PEM, NET DER

Use the openssl rsa command as shown below, a valid file will return a font color=blueRSA key ok/font message;

Valid file formats are;

  • PEM
  • NET
  • DER

The -noout parameter prevents the actual key from being displayed.

openssl rsa -inform PEM -in networkstuff.eu.key -noout -check

font color=blueRSA key ok/font

PKCS#12

Use the openssl pkcs12 command as shown below, a valid file will return a font color=blue????/font message;

openssl pkcs12 -info -in networkstuff.eu.key -noout

Image:icemon-medium.png Related Articles

Other OpenSSL articles

Information on OpenSSL Commands

Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 11 May 2009, at 11:59. - This page has been accessed 17 times. - Disclaimers - About RZWiki
Powered by MediaWiki