From 6ec9233d1c5afd44790bf872e9f572ca18d62c07 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Thu, 27 Nov 2014 19:03:45 +0200 Subject: [PATCH] updating script to attempt generating the ssl certificates directory first before trying to create files there --- generate-ssl-certs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/generate-ssl-certs.sh b/generate-ssl-certs.sh index fda44bb0c4..c77082d19a 100644 --- a/generate-ssl-certs.sh +++ b/generate-ssl-certs.sh @@ -1,5 +1,6 @@ #!/bin/bash echo "Generating self-signed certificates..." +mkdir -p ./config/sslcerts openssl genrsa -out ./config/sslcerts/key.pem -aes256 1024 openssl req -new -key ./config/sslcerts/key.pem -out ./config/sslcerts/csr.pem openssl x509 -req -days 9999 -in ./config/sslcerts/csr.pem -signkey ./config/sslcerts/key.pem -out ./config/sslcerts/cert.pem