Skip to content

Some simple shellscripts to create a self-signed CA and scripts to certify, sign csrs, or create keypairs for webservers

License

Notifications You must be signed in to change notification settings

rhmk/openssl-ca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openssl-ca

Simple scripting to create my own ca with openssl tools.

Goal: Create a CA for simple use in my lab and home environments

Inspired by:

Installation

  • clone the folder
  • goto etc and mv config-example.sh to config.sh
  • edit config.sh to your needs

Usage

create-root-ca.sh               : Creates your root CA
create-cert-pair.sh <dir> <name>: creates a private key and a signed cert with previously created CA for e.g. a webserver
display-pem.sh <key>            : displays the content of key <key>
sign-csr.sh <csr>               : signs a application generated csr with the above key 
verify-cert.sh <name>           : verifies that a cert is valid against the CA

About

Some simple shellscripts to create a self-signed CA and scripts to certify, sign csrs, or create keypairs for webservers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages