Skip to content

Commit b3be44b

Browse files
committed
Add Let's Encrypt Wildcard support
1 parent f2446bd commit b3be44b

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ WORKDIR /data/letsencrypt
1313
RUN git clone https://github.com/lukas2511/dehydrated
1414
RUN ./dehydrated/dehydrated --register --accept-terms
1515

16+
# Set HOOK_CHAIN=yes to allow wildcard certificates (https://github.com/josteink/le-godaddy-dns#hook_chain)
17+
RUN echo HOOK_CHAIN=\"yes\" >> /data/letsencrypt/dehydrated/config
18+
1619
RUN git clone https://github.com/josteink/le-godaddy-dns
1720
RUN cd le-godaddy-dns && python3 -m pip install -r requirements.txt --user
1821

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ This Docker container works with the **Godaddy DNS API** and send a **Slack** no
55
**Slack notification example**
66
![Slack Notification Example](./Slack_notification.png)
77

8+
## Let's Encrypt Wildcard
9+
Wildcard certificate generation is supported!
10+
Use first the domain and then the \*, example: **thirddomain.com \*.thirddomain.com**
11+
812
## Usage with docker-compose.yml
913
```
1014
docker-compose up

renew_certificates.conf

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
yourdomain.com api.yourdomain.com www.yourdomain.com ftp.yourdomain.com subdomain.yourdomain.com
22
seconddomain.com www.seconddomain.com
3+
thirddomain.com *.thirddomain.com

0 commit comments

Comments
 (0)