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

Check Key File, Using OpenSSL

From NetworkStuff


Image:Tux_64x64.png Image:Application-certificate.svg

To check a public or private key file using OpenSSL use the openssl rsa command as shown below, a valid file will return a RSA key ok 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

RSA key ok

Image:icemon-medium.png Related 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 steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 3 December 2008, at 11:22. - Disclaimers - About NetworkStuff
Powered by MediaWiki