From f5faa2ef095f035110f83e17da0b35d3a34d6b97 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 17 Feb 2024 19:52:53 -0700 Subject: bump --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index 1bc0bb3..f35bca4 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -26,7 +26,7 @@ - + @@ -35,6 +35,7 @@ home | about/links | posts | +3D designs | RSS Feed | -- cgit v1.2.3 From f6d2141a480dd6b5b8ee0e48d43bb64773232791 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 26 Mar 2024 23:38:14 -0600 Subject: add header ids --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index f35bca4..769bfa6 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -6,13 +6,13 @@ - Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt + id="generating-https-certificate-using-dns-a-challenge-through-lets-encrypt">Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt - - + Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt" /> + Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt" /> @@ -44,18 +44,18 @@
-

Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt

+

Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt

I have a Raspberry-Pi running a Flask app through Gunicorn (Ubuntu 20.04 LTS). I am exposing it to the internet using DuckDNS.

-

Dependencies

+

Dependencies

sudo apt update && sudo apt install certbot -y
 
-

Get the Certificate

+

Get the Certificate

sudo certbot certonly --manual --preferred-challenges dns-01 --email senpai@email.com -d mydomain.duckdns.org
@@ -100,11 +100,11 @@ navanspi.duckdns.org.    60Once you can ensure that the TXT record changes has been successfully applied and is visible through the dig command, press enter on the Certbot prompt and your certificate should be generated.

-

Renewing

+

Renewing

As we manually generated the certificate certbot renew will fail, to renew the certificate you need to simply re-generate the certificate using the above steps.

-

Using the Certificate with Gunicorn

+

Using the Certificate with Gunicorn

Example Gunicorn command for running a web-app:

-- cgit v1.2.3 From 9e620084e57378952c1a7f8e0a772ebebd18932b Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 20:35:09 -0600 Subject: quick fix --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index 769bfa6..270adfa 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -6,13 +6,13 @@ - id="generating-https-certificate-using-dns-a-challenge-through-lets-encrypt">Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt + Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt - Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt" /> - Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt" /> + + -- cgit v1.2.3 From 01ff93c9c16867216f2d249664803860e1d6d5eb Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 22:49:40 -0600 Subject: generate new theme --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 55 +++++++++++++++++-------- 1 file changed, 37 insertions(+), 18 deletions(-) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index 270adfa..c78fb06 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -2,14 +2,26 @@ - + + + + + Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt + + + + + + + - Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt - @@ -29,21 +41,27 @@ - -
-
+ + +
-
- +

Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt

I have a Raspberry-Pi running a Flask app through Gunicorn (Ubuntu 20.04 LTS). I am exposing it to the internet using DuckDNS.

@@ -122,14 +140,15 @@ navanspi.duckdns.org. 60Caveats with copying the certificate: If you renew the certificate you will have to re-copy the files

+
If you have scrolled this far, consider subscribing to my mailing list here. You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.
-
+
-- cgit v1.2.3 From de19543d7fb44d343b052dc9b34ede78620c4a46 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 23:36:55 -0600 Subject: Generate --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index c78fb06..c0cfd69 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -46,7 +46,7 @@
+ +
-- cgit v1.2.3 From a982ceab0b45609991179b3020a00260eed6f798 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 23:45:59 -0600 Subject: css --- docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html') diff --git a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html index c0cfd69..5d5a40f 100644 --- a/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html +++ b/docs/posts/2020-11-17-Lets-Encrypt-DuckDns.html @@ -5,6 +5,7 @@ + Generating HTTPS Certificate using DNS a Challenge through Let's Encrypt -- cgit v1.2.3