@@ -70,9 +70,27 @@ update-rc.d nginx enable
70
70
service nginx restart
71
71
72
72
73
- # Optionally add SSL support via Let's Encrypt:
74
- # https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
73
+ # Optionally add SSL support via Let's Encrypt
74
+ # NOTE: These steps have changed since the recording.
75
75
76
- add-apt-repository ppa:certbot/certbot
77
- apt install python3-certbot-nginx
76
+ # ###### NEW STEPS ###############################################
77
+ # See https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal&tab=standard
78
+
79
+ # Because always a good idea :)
80
+ apt update
81
+ apt upgrade
82
+
83
+ # Not need even though it's in the instructions, is installed on Ubuntu
84
+ # Skip -> install snapd https://snapcraft.io/docs/installing-snapd
85
+
86
+ snap install --classic certbot
87
+ ln -s /snap/bin/certbot /usr/bin/certbot
78
88
certbot --nginx -d weatherapi.talkpython.com
89
+
90
+ # ###### THESE ARE THE OLD STEPS #################################
91
+ #
92
+ # # https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
93
+ #
94
+ # add-apt-repository ppa:certbot/certbot
95
+ # apt install python-certbot-nginx
96
+ # certbot --nginx -d weatherapi.talkpython.com
0 commit comments