Daniel Berteaud
6ef45f251a
Send the 1 command to imap and not imaps to update imapd.pem on SME 8
8 years ago
Daniel Berteaud
ded0c3eb5e
Adapt for the rename to dehydrated
8 years ago
Daniel Berteaud
789d868e89
Fix deploy hook on sme8
...
There was two problems: the manual expand-template for the pem file was wrong, and the smeserver-letsencrypt-client rpm provided the /etc/e-smith/event/ssl-update event. So the test for it not existing was always false. But this event did nothing except expand a single config template, no ssl cert was being updated
8 years ago
Daniel Berteaud
d772e84feb
Use chain.pem instead of fullchain.pem
...
As some older OpenSSL (like the one in Debian 7) don't like the final cert being in the intermediate chain
9 years ago
Daniel Berteaud
bae49f049e
Revoke old certs in a separated script
...
We cannot call letsencrypt.sh from a hook script, as there's a lock file
9 years ago
Daniel Berteaud
b088baa65d
String must be quoted
9 years ago
Daniel Berteaud
233c6e4945
Add some sanity check to args passed to hook handler
9 years ago
Daniel Berteaud
3a24f881ba
Adapt hook scripts
9 years ago
Daniel Berteaud
c926162fc3
Rename hook script
...
SO it's easier to order with others
9 years ago
Daniel Berteaud
fa5b40587b
Move hook script to /etc/letsencrypt.sh/hooks_deploy_cert.d
...
And also make it working on older SME (without ssl-update event)
9 years ago
Daniel Berteaud
a445ea1d08
Fix hook script and revoke old certificates
9 years ago
Daniel Berteaud
051e021fdd
First commit
9 years ago