Difference between revisions of "Public key cryptography"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
 
Generate a public key from a [[PEM]] private key
 
Generate a public key from a [[PEM]] private key
 
* <code>[[openssl]] rsa -in mykey.pem -pubout > mykey.pub</code>
 
* <code>[[openssl]] rsa -in mykey.pem -pubout > mykey.pub</code>
 +
 +
Generate fingerpring
 +
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
  
  

Revision as of 12:42, 7 May 2020

This article is a Draft. Help us to complete it.


Generate a public key from a PEM private key

  • openssl rsa -in mykey.pem -pubout > mykey.pub

Generate fingerpring


Related commands


See also

Advertising: