tAdd certificate renew command (may not work) - 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 8d6ea2d8d50e13672085c3baf1beeb2e947fef29
(DIR) parent 607d64a22563160e55fbd6c7cb697a918f594d3c
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 24 Jun 2019 09:53:22 +0200
Add certificate renew command (may not work)
Diffstat:
M Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -28,8 +28,13 @@ generate-letsencrypt-certificate:
@echo "Certificate is fullchain.pem, key (PEM) is privkey.pem"
@echo "Upload to the gitlab pages configuration"
+#.PHONY: renew-letsencrypt-certificate
+#renew-letsencrypt-certificate: generate-letsencrypt-certificate
.PHONY: renew-letsencrypt-certificate
-renew-letsencrypt-certificate: generate-letsencrypt-certificate
+renew-letsencrypt-certificate:
+ @echo "The following renew command may not work. If that is the case," \
+ "manually renew with 'make generate-letsencrypt-certificate'"
+ sudo certbot renew
.PHONY: check-letsencrypt-certificate
check-letsencrypt-certificate: