Alexis Ben Miloud--Josselin
e9a43ea1db
evoacme: Certificates directory path
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|3132|0|3132|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good
The variable CRT_DIR is already well set in /etc/default/evoacme,
so this bug might have caused trouble yet.
2024-08-16 11:48:40 +02:00
7d63f20336
evoacme: exclude renewal-hooks directory from cron
2021-10-05 08:28:47 +02:00
bd92ff95c8
use absolute path in evacme cron
continuous-integration/drone/push Build is passing
2021-08-20 11:33:30 +02:00
b8c5ac3097
remove whitespace for stream redirection
2021-06-28 15:56:19 +02:00
024d30ea43
evoacme: upstream release 21.01
continuous-integration/drone/push Build is passing
2021-01-07 19:16:06 +01:00
b6817cb62c
evoacme: upstream release 20.12
continuous-integration/drone/push Build is passing
2020-12-01 22:27:05 +01:00
b43d0f3629
evoacme: upstream release 20.11
2020-11-19 21:21:07 +01:00
c8d4da532f
evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable")
continuous-integration/drone/push Build is passing
2020-10-20 10:58:51 +02:00
f49bf5c72d
evoacme: use Let's Encrypt deploy hooks instead of evoacme hooks
continuous-integration/drone/push Build is passing
2020-08-21 14:02:07 +02:00
a60deb276b
evoacme: upstream release 20.08
2020-08-21 14:01:06 +02:00
7f0931510f
evoacme: upstream release 20.06.1
continuous-integration/drone/push Build is passing
2020-06-05 11:01:42 +02:00
1d5a30b144
evoacme: upstream release 20.06
continuous-integration/drone/push Build is passing
2020-06-03 12:09:58 +02:00
7a9624fcc2
evoacme: remove shellcheck warnings
continuous-integration/drone/push Build is passing
2020-04-16 09:44:25 +02:00
ab8c6b13b8
evoacme: upstream version 19.11
continuous-integration/drone/push Build is passing
2019-11-05 14:08:02 +01:00
db71907155
Remove chown root: /etc/ssl/private in make-csr.sh
2019-03-19 16:13:17 +01:00
8279092037
evoacme: add a renewal hook to commit changes in /etc/.git
2019-03-07 00:19:43 +01:00
Victor LABORIE
6469733d2f
evoacme: fix error handling in sed_cert_path_for_(apache|nginx)
2018-11-22 15:06:23 +01:00
88b66dca24
Evoacme: Better usage of apache2ctl -t
...
By default apache2ctl is using stderr, even for displaying "Syntax OK".
So, we redirect it in stdout and remove "Syntax OK". Then we check the exit code.
2018-10-03 15:16:28 +02:00
758a537a8d
For SANs certificates, also add a CN for the first domain
2018-07-12 11:12:29 +02:00
de63c0747f
Support for SAN in self-signed certificates
2018-07-10 17:46:41 +02:00
17159676d9
Add exit 0 after the command -v commands.
...
Otherwise it would exit 1 on nginx if you have not nginx installed.
2018-07-10 17:09:20 +02:00
a4a3569630
Show the certificate path when exiting with an error
2018-03-06 10:34:55 +01:00
cdaad871b3
Be sure to check the exit code of certbot
...
If we use set -e but no -o pipefail with a pipe, the last command exit code is
used by set -e.
certbot | grep -v something
If the grep exit with a non-zero exit code, set -e stop the execution of the
script. We don't care about that grep, so we now use the PIPESTATUS.
2018-03-05 14:46:49 +01:00
Gregory Colpart
fb6cb79b41
Keep read right on group for software with non-root access like OpenLDAP
2018-01-28 17:13:23 +01:00
19b2da5b92
evoacme: exclude typical certbot directories
2018-01-22 18:27:37 +01:00
8f88a48e15
evoacme cron task : improve readability
...
* use long form options
* break line before pipe
2018-01-03 10:12:14 +01:00
edf7bceee6
Add -r to xargs arguments
...
Why? Because if there is no certificates in /etc/letsencrypt it will call
evoacme with no args, resulting in an error.
2018-01-03 10:00:22 +01:00
375c3e6760
evoacme: crontab management
...
* simply rename certbot script to disable it
* use "evoacme" as file name for our custom cron script
2017-11-25 14:17:36 +01:00
7fee69ca22
evoacme: remove $()
2017-11-21 16:17:21 +01:00
ad9a15827f
evoacme: invert conditions in sed_cert_path_XXX()
2017-11-21 14:45:50 +01:00
9519e226e9
evoacme: remove double caret in sed pattern
2017-11-21 14:44:36 +01:00
Victor LABORIE
ce3b5b7cbd
evoacme: use xargs instead of while
2017-11-14 17:19:15 +01:00
Victor LABORIE
b801bdb576
evoacme: use -printf instead of -exec basename
2017-11-14 17:01:51 +01:00
Victor LABORIE
0ef627e4bd
evoacme: add dovecot hook
2017-11-06 11:04:26 +01:00
Victor LABORIE
b0df53a6ee
evoacme: add postix hook
2017-11-06 11:04:13 +01:00
330d500de6
evoacme: fix hooks execution
...
Disable regex for grep with "-F"
2017-10-24 17:38:59 +02:00
56e5cfc06d
evoacme: directories must be owned by "acme"
2017-10-24 17:38:05 +02:00
131eac4499
Fix: return if file is not readable
2017-10-24 17:37:46 +02:00
0e5396faa7
change from CRON to QUIET
2017-10-24 17:37:15 +02:00
8567160596
evoacme: don't execute hooks with dots in file name
2017-10-20 10:15:12 +02:00
1b50dfb0b3
evoacme: inline hooks calls + export variables
2017-10-19 23:23:51 +02:00
3d3e45faef
evoacme: use local variable
2017-10-19 23:18:11 +02:00
4d6853f844
evoacme: use hooks after certificate creation
2017-10-19 22:21:18 +02:00
1fa4ccc338
make-csr: create important directories
2017-10-19 11:08:35 +02:00
d2f86f7950
evoacme: check for arguments first
2017-10-19 11:08:16 +02:00
37cd22a466
evoacme: remove useless variables
2017-10-19 11:08:01 +02:00
266ac7fc07
evoacme: create important directories
2017-10-19 11:07:45 +02:00
e47371f347
Use bash, for proper readonly/local support
...
"readonly" is a safety bonus, but "local" is really important
not to overwrite variables from functions.
2017-10-19 11:05:54 +02:00
4d3ed7ed97
evoacme: remove a debug statement
2017-10-19 07:59:55 +02:00
Gregory Colpart
34365a145c
Typo: rename script
2017-10-19 01:39:08 +02:00