update simp_le

This commit is contained in:
dave 2020-03-30 21:14:53 -07:00
parent a7d2c92ec2
commit 5278759424
2 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,10 @@
FROM ubuntu:xenial
FROM ubuntu:focal
RUN apt-get update && \
apt-get install -y python3-pip cron && \
pip3 install simp_le-client && \
pip3 install simp_le-client==0.18.0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
find /etc/cron* -type f -delete && \
useradd simplecert && \
touch /etc/crontab

View File

@ -30,7 +30,8 @@ def call_le(email, domain_names):
"--email", email,
"-f", "account_key.json",
"-f", "fullchain.pem",
"-f", "key.pem"]
"-f", "key.pem",
"-f", "account_reg.json"]
for domain in domain_names:
le_call += ["-d", domain]