Commit graph

100 commits

Author SHA1 Message Date
Jérémy Lecour 3c283d2bb4 evoacme: execute evoacme in cron mode 2017-10-13 12:09:12 +02:00
Jérémy Lecour 0022071462 evoacme: add tests to fail with proper messages 2017-10-13 12:08:47 +02:00
Jérémy Lecour e11958d101 evoacme: fix web servers config check 2017-10-13 11:18:37 +02:00
Jérémy Lecour 6d6d0760cd evoacme: sed cert path after cert creation 2017-10-13 11:18:15 +02:00
Jérémy Lecour 88600039d3 evoacme: daily iterations are not enough 2017-10-13 11:17:32 +02:00
Jérémy Lecour 5e71da94d3 evoacme: fix typo 2017-10-13 11:16:46 +02:00
Jérémy Lecour bced7561c9 make-csr: extract a few functions 2017-10-13 11:16:21 +02:00
Jérémy Lecour fb0c22dfd1 evoacme: refactoring for make-csr
inspired from recent refactoring or evoacme itself
2017-10-13 00:47:02 +02:00
Jérémy Lecour 9fccd7e682 evoacme: improve variables 2017-10-12 18:22:43 +02:00
Jérémy Lecour 65ccc2c0b5 evoacme: use env variables for execution modes 2017-10-12 18:22:06 +02:00
Jérémy Lecour 30434a70d8 evoacme: csr verification is a different function call 2017-10-12 18:20:49 +02:00
Jérémy Lecour 118a9759af evoacme: change function name to be more specific 2017-10-12 18:19:53 +02:00
Jérémy Lecour 3c61484448 evoacme: don't allow uninitialized variables 2017-10-12 18:19:09 +02:00
Jérémy Lecour 0d0c21f908 Evoacme: refactoring
* add a lot of variables, to reduce possible typos
* add a lot of debug statements
* add many comments and line breaks for readability
* extract functions for complex openssl commands
* explode the big certbot command into multiple lines
* allow certbot to make test certs (for API query limits)
* allow certbot to run in "dry run" mode
* regroup some lines together when they do related things
2017-10-12 00:29:21 +02:00
Victor LABORIE 1c244f556b evoacme: better apache/nginx reload 2017-10-11 18:50:20 +02:00
Victor LABORIE 2dbdfb6600 evoacme: add error and debug function 2017-10-11 18:50:19 +02:00
Gregory Colpart 30c47fcd50 A lot of improvments: add comments, add tests/tests/tests, add --cron option, drop HAProxy support, modify Apache/Nginx conf only first time 2017-09-21 03:50:24 +02:00
Gregory Colpart 7ea5982611 empty commit, only :retab 2017-09-21 03:48:24 +02:00
Victor LABORIE 8a139b07b2 evoacme: fix SRV_IP overriding in make-csr 2017-09-13 11:38:38 +02:00
Victor LABORIE f5fdd71681 evoacme: fix invalid domain printing in make-csr 2017-09-12 15:49:35 +02:00
Victor LABORIE 069e675c6b evoacme: add basic check to evoacme.sh 2017-09-11 17:05:46 +02:00
Victor LABORIE ab177c2dad evoacme: add pem extension to dhparam file 2017-09-11 17:05:46 +02:00
Victor LABORIE 6c399ca60e evoacme: fix live link path 2017-09-11 17:05:46 +02:00
Victor LABORIE 1fbcb61559 evoacme: fix typo 2017-09-11 17:05:45 +02:00
Victor LABORIE ff392d8e26 evoacme: fix symlink generation 2017-09-11 17:05:45 +02:00
Victor LABORIE 0726d29796 evoacme: purge same day cert before recreating it 2017-09-11 17:05:45 +02:00
Victor LABORIE 740b60d838 evoacme: make-csr stdout is more verbose 2017-09-11 17:05:45 +02:00
Victor LABORIE e16eafc1a0 evoacme: complete refactoring of make-csr.sh 2017-09-11 17:05:45 +02:00
Victor LABORIE 05afeea894 evoacme: remove obsolete sudoers file 2017-09-11 17:05:44 +02:00
Victor LABORIE 8d7cbab3a9 evoacme: refactoring of certbot.cron 2017-09-11 17:05:44 +02:00
Victor LABORIE e210de5f53 evoacme: complete refactoring of evoacme.sh 2017-09-11 17:05:44 +02:00
Victor LABORIE f14ee0424e evoacme: fix certbot verbosity 2017-06-12 14:09:29 +02:00
Victor LABORIE 267f1ffc88 evoacme: refactoring 2017-06-12 13:14:30 +02:00
Daniel Jakots 2eb194577f use the correct var 2017-06-06 16:36:09 -04:00
Victor LABORIE 41f93bcd5d evoacme: fix sed for nginx self-signed cert 2017-05-30 15:13:00 +02:00
Victor LABORIE 0883102747 evoacme: reinit ssl conf when overwrite csr and key 2017-05-10 11:28:53 +02:00
Victor LABORIE 8aadec03c1 evoacme: support for evoadmin-cluster 2017-05-10 11:05:31 +02:00
Victor LABORIE 3738a189c7 evoacme: always strip .conf suffix 2017-05-10 11:05:31 +02:00
Jérémy Lecour af2351486d evoacme: use apt-repositories role 2017-03-24 14:13:39 +01:00
Victor LABORIE 25bdddbd92 evoacme: fix nginx ssl_certificate replacement 2017-03-15 17:33:12 +01:00
Victor LABORIE 338c083c5b evoacme: support for haproxy 2017-03-09 17:58:42 +01:00
Victor LABORIE aac8e90c21 evoacme:
- Fix ssl conf replacement
- Fix acme user home
2017-02-08 14:14:55 +01:00
Victor LABORIE d3310007c3 evoacme :
- Don't generate dhparams (not evoacme role)
- Generate ssl conf file for vhost
2017-02-03 16:24:39 +01:00
Victor LABORIE b884bdb1c9 evoacme: fix constants check and autosigned cert 2017-01-31 17:09:42 +01:00
Victor LABORIE 63565d0f01 evoacme:
- check apache conf dirs
- look for vhost file with or without .conf extension
2017-01-31 15:14:49 +01:00
Victor LABORIE ca9d90fb07 evoacme: fix check domain in make-csr 2017-01-25 11:16:50 +01:00
Victor LABORIE 59c982b46d evoacme : fix nginx challenge, check domain in make-csr 2017-01-19 10:52:00 +01:00
Victor LABORIE c4fc42092c evoacme: generate autosign cert on certbot fail 2017-01-11 10:42:32 +01:00
Victor LABORIE 4bbfd32a87 evoacme: Fix error when no .crt available 2017-01-09 10:00:08 +01:00
Victor LABORIE b485b0b49c Evoacme: merge role from evoacme private repo 2016-12-21 16:12:27 +01:00