commit 8d6ea2d8d50e13672085c3baf1beeb2e947fef29 parent 607d64a22563160e55fbd6c7cb697a918f594d3c 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(-)
diff --git a/Makefile b/Makefile @@ -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: