Skip to content

Commit

Permalink
Merge pull request #34 from syphernl/feature/letsencrypt
Browse files Browse the repository at this point in the history
LetsEncrypt support
  • Loading branch information
syphernl committed Oct 12, 2016
2 parents ade19c0 + c526fec commit 705298d
Show file tree
Hide file tree
Showing 6 changed files with 319 additions and 218 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ before_install:
# Cleanup Travis' MySQL leftovers as they conflict with the MariaDB clean install
- sudo apt-get purge mysql-common mysql-server mysql-client
- sudo rm /etc/mysql /var/lib/mysql /var/log/mysql -rf
# Generate SSL certificate for testing this part of the state
- sudo mkdir -p $PWD/ssl
- sudo openssl req -x509 -nodes -days 3650 -subj '/C=NL/ST=Utrecht/L=Amersfoort/O=Enrise/CN=ssl-demo-one.example' -newkey rsa:2048 -keyout $PWD/ssl/ssl-demo-one.example.key -out $PWD/ssl/ssl-demo-one.example.pem
- sudo openssl req -x509 -nodes -days 3650 -subj '/C=NL/ST=Utrecht/L=Amersfoort/O=Enrise/CN=ssl-demo-two.example' -newkey rsa:2048 -keyout $PWD/ssl/ssl-demo-two.example.key -out $PWD/ssl/ssl-demo-two.example.pem
- sudo openssl req -x509 -nodes -days 3650 -subj '/C=NL/ST=Utrecht/L=Amersfoort/O=Enrise/CN=ssl-demo-three.example' -newkey rsa:2048 -keyout $PWD/ssl/ssl-demo-three.example.key -out $PWD/ssl/ssl-demo-three.example.pem

install:
- sudo mkdir -p /srv && sudo ln -sfn $PWD /srv/formula
Expand Down

0 comments on commit 705298d

Please sign in to comment.