Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

almacro/pki-tutorial

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pki-tutorial

This set of scripts automates CA exercises from the PKI tutorial found at:

https://pki-tutorial.readthedocs.org/en/latest/

These scripts were developed on OpenBSD and presume the existence of Korn shell. They should be easily converted to run on ba(sh) if needed.

The scripts depend on the etc directory given in the pki-tutorial. Copy the scripts into the corresponding directory from the pki-tutorial. Then change to a PKI directory (such as SimplePKI) and run

sh run_all.sh

or run an individual script such as

sh mk_rootca_db.sh

The scripts presume the existence of input files for example 1 (SimplePKI):

  • email_pass.txt
  • p12_pass.txt
  • rootca_pass.txt
  • signca_pass.txt

Similarly, example 2 (AdvancedPKI) uses these input files:

  • email_pass.txt
  • emailca_pass.txt
  • p12_pass.txt
  • rootca_pass.txt
  • signca_pass.txt
  • softca_pass.txt
  • tlsca_pass.txt

While example 3 (ExpertPKI) uses these input files:

  • compca_pass.txt
  • enc_pass.txt
  • iden_pass.txt
  • idenca_pass.txt
  • netca_pass.txt
  • ocsp_pass.txt
  • p12_pass.txt
  • rootca_pass.txt
  • tlscli_pass.txt
  • tsa_pass.txt

A secure - preferably automated - means of generating these files is a prerequisite to running the scripts.

About

Scripts to automate CA exercises from the PKI tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.