Skip to content

Commit

Permalink
Ensure haproxy/ssl directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Seymour (cloud) committed Jul 29, 2015
1 parent e936f10 commit 28cb81c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphere-stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ EOF
}

keys() {
mkdir -p haproxy/ssl &&
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout haproxy/ssl/sphere.key -out haproxy/ssl/sphere.crt &&
cat haproxy/ssl/sphere.key haproxy/ssl/sphere.crt >> haproxy/ssl/wildcard.pem
}
Expand Down

0 comments on commit 28cb81c

Please sign in to comment.