diff --git a/ssl/README.md b/ssl/README.md new file mode 100644 index 000000000..45c261e20 --- /dev/null +++ b/ssl/README.md @@ -0,0 +1,77 @@ +# Instructions for Creating a Self-Signed Cert + +These are based off: +(https://devopscube.com/create-self-signed-certificates-openssl/)[https://devopscube.com/create-self-signed-certificates-openssl/] + +## Create the Certificate Authority + +``` +openssl req -x509 \ + -sha256 -days 356 \ + -nodes \ + -newkey rsa:2048 \ + -subj "/CN=*.topcoder-dev.com/C=US/L=Los Angeles" \ + -keyout rootCA.key -out rootCA.crt +``` + +## Create the Server Private Key + +``` +openssl genrsa -out server.key 2048 +``` + +## Create Cert Signing Request Config + +``` +cat > csr.conf < cert.conf <