From f9b267b7f8bb2497a31072881094be036685fd01 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 10 Oct 2024 14:06:46 -0500 Subject: [PATCH] initial commit --- .gitignore | 2 ++ Makefile | 13 +++++++++++++ certificate_authority_template.info | 4 ++++ 3 files changed, 19 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 certificate_authority_template.info diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b83dc9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +certificate_authority_certificate.pem +certificate_authority_key.pem diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0b67477 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +ls: + ls -l + +make-ca-private-key: + certtool --generate-privkey > certificate_authority_key.pem + # umask 277 certificate_authority_key.pem + make ls + +make-Certificate-Authority-Certificate-file: + certtool --generate-self-signed \ + --template certificate_authority_template.info \ + --load-privkey certificate_authority_key.pem \ + --outfile certificate_authority_certificate.pem diff --git a/certificate_authority_template.info b/certificate_authority_template.info new file mode 100644 index 0000000..78fd4b7 --- /dev/null +++ b/certificate_authority_template.info @@ -0,0 +1,4 @@ +cn = WIT.COM Inc. +ca +cert_signing_key +expiration_days = 10