tOnly copy relevant LE files to password store - 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 d2ffb20d43c11043888db84d4bd04014b19fcce5
(DIR) parent ff1905f0244b2a1204840ed6ee9d30b92eb2461e
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 24 Jun 2019 09:36:27 +0200
Only copy relevant LE files to password store
Diffstat:
M Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -22,7 +22,8 @@ generate-letsencrypt-certificate:
sudo certbot certonly -a manual \
-d $(DOMAIN) -d www.$(DOMAIN) \
-d $(DOMAIN:.com=.dk) -d www.$(DOMAIN:.com=.dk)
- sudo cp /etc/letsencrypt/live/andersdamsgaard.com/{cert,chain,fullchain,privkey}.pem ~/.password-store/website/andersdamsgaard.com
+ sudo cp /etc/letsencrypt/live/andersdamsgaard.com/{fullchain,privkey}.pem \
+ ~/.password-store/website/andersdamsgaard.com
sudo chown -R ad ~/.password-store/website/andersdamsgaard.com
@echo "Certificate is fullchain.pem, key (PEM) is privkey.pem"
@echo "Upload to the gitlab pages configuration"