tAdd new LE challenge, fix renew certificate target - andersdamsgaard.com - my photography webpage
(HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1ae04e9d798a4c4fd82c8d36b949ad40debaafbb
(DIR) parent 084bba8256751ae207b59b87ffb03c6317a14492
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 14 Jan 2019 17:17:38 +0100
Add new LE challenge, fix renew certificate target
Diffstat:
M Makefile | 6 ++----
A themes/tale-mod/static/.well-known… | 1 +
2 files changed, 3 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -22,12 +22,10 @@ generate-letsencrypt-certificate:
sudo certbot certonly -a manual \
-d $(DOMAIN) -d www.$(DOMAIN) \
-d $(DOMAIN:.com=.dk) -d www.$(DOMAIN:.com=.dk)
- mkdir -p keys/
sudo cp /etc/letsencrypt/live/andersdamsgaard.com/{cert,chain,fullchain,privkey}.pem ~/.password-store/website/
sudo chown -R ad ~/.password-store/website
@echo "Certificate is fullchain.pem, key (PEM) is privkey.pem"
+ @echo "Upload to the gitlab pages configuration"
.PHONY: renew-letsencrypt-certificate
-renew-letsencrypt-certificate:
- sudo certbot renew
-
+renew-letsencrypt-certificate: generate-letsencrypt-certificate
(DIR) diff --git a/themes/tale-mod/static/.well-known/acme-challenge/EgThDrG8BW_rACGoZhJGI0j1HaeWpMFRSP_XIDYgxG0 b/themes/tale-mod/static/.well-known/acme-challenge/EgThDrG8BW_rACGoZhJGI0j1HaeWpMFRSP_XIDYgxG0
t@@ -0,0 +1 @@
+EgThDrG8BW_rACGoZhJGI0j1HaeWpMFRSP_XIDYgxG0.EW10cOVBX5g9V85GjtRY5lxRn9OEUmefzOe7Z8Q3jVs