Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
updating script to attempt generating the ssl certificates directory …
Browse files Browse the repository at this point in the history
…first before trying to create files there
  • Loading branch information
lirantal committed Nov 27, 2014
1 parent b8a3a1f commit 6ec9233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate-ssl-certs.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6ec9233

Please sign in to comment.