Browse Source

update simp_le

master
dave 2 years ago
parent
commit
5278759424
  1. 6
      Dockerfile
  2. 3
      simplewrapper.py

6
Dockerfile

@ -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

3
simplewrapper.py

@ -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]

Loading…
Cancel
Save