Public Key Infrastructure (PKI) Setup & Usage
This page describes how to set up your SSH keys which are used to authenticate with code repositories to contribute code or with remote machines to deploy software
Create an SSH key-pair
The following should generate a 4096-bit key pair at ./id_rsa
and ./id_rsa.pub
for use with SSH Git pulls/SSH deploys/SSH login to VM:
Create a certificate authority (CA)
The following creates a new CA with 3650 days validity at testdomain.com
:
Create a certificate signing request (CSR)
The following creates a CSR at ./test.csr
Create a signed client certificate
Given a CA key and certificate at ./cakey.pem
and ./cacert.pem
respectively, the following creates a client certificate at ./test.pem
from the CSR at ./test.csr
Create an SSL key
Last updated
Was this helpful?