Table of Contents

Public Key

About

A public key is a key used in the public cryptographic system.

The public key is often saved in a cer format.

Distribution

The public key distribution can be done:

I judged it most important for military use … if you can share your key rapidly and electronically, you have a major advantage over your opponent.

Creation

A public key is created from a private key.

Example: create a rsa public key from a rsa private key

openssl rsa -in key.pem -pubout -out pubkey.pem

See also: Keypair (public and a private key) to create a public key and a private key at once.

Storage

Client

ssh-rsa key key-comment

Server

server: What are the SSH Authorized Keys file? (on Server)