Commit 22bfbb61 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update core/debian/changelog, core/sbin/sympl-ssl

parent cdddb0d5
sympl-core (11.20211213.1) stable; urgency=medium
* Handle other case in workaround
-- Paul Cammish <sympl@kelduum.net> Mon, 13 Dec 2021 13:48:00 +0000
sympl-core (11.20211213.0) stable; urgency=medium
* Updated workaround for Let's Encrypt cross-signed intermediate
......
......@@ -15,7 +15,12 @@ if [ $( sympl-ip -a | grep -c '\.' ) == 0 ] || [ $( getent hosts ipv4only.arpa |
# ... and add it to /etc/hosts
echo -e "$ipv6\facme-v02.api.letsencrypt.org # sympl-ssl workaround" >> /etc/hosts
# run sympl-ssl with all the parameters passed
# stop exiting on errors, and store the result for the end
set +e
/usr/sbin/sympl-ssl.rb $@
exit_code="$?"
# re-enable exiting on errors
set -e
# and then remove the line from /etc/hosts
sed -i -n '/# sympl-ssl workaround/!p' /etc/hosts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment