Browse Source

update simp_le

master
dave 8 months ago
parent
commit
5278759424
2 changed files with 6 additions and 3 deletions
  1. +4
    -2
      Dockerfile
  2. +2
    -1
      simplewrapper.py

+ 4
- 2
Dockerfile 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


+ 2
- 1
simplewrapper.py 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]


Loading…
Cancel
Save