commit f9b267b7f8bb2497a31072881094be036685fd01 Author: Jeff Carr Date: Thu Oct 10 14:06:46 2024 -0500 initial commit 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