IMPORTANT NOTES:
_ - If you lose your account credentials, you can recover through_
_ e-mails sent to pstntas@protonmail.com._
_ - The following errors were reported by the server:_
_ To fix these errors, please make sure that your domain name was_
_ entered correctly and the DNS A record(s) for that domain_
_ contain(s) the right IP address. Additionally, please check that_
_ your computer has a publicly routable IP address and that no_
_ firewalls are preventing the server from communicating with the_
_ client. If you’re using the webroot plugin, you should also verify_
_ that you are serving files from the webroot path you provided._
_ - Your account credentials have been saved in your Let’s Encrypt_
_ configuration directory at /etc/letsencrypt. You should make a_
_ secure backup of this folder now. This configuration directory will_
_ also contain certificates and private keys obtained by Let’s_
_ Encrypt so making regular backups of this folder is ideal._
My web server is (include version): tomcat/nginx
The operating system my web server runs on is (include version): debian 9
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
At least from my internet connection it is not possible to connect to port 80 (http) on your machine. It looks like an upstream internet connection (modemcable120.79-130-66.mc.videotron.ca) so there might be a firewall at your provider which disables access to port 80. Try tls-sni-01 authentication.
This will automatically configure an SSL server for you, skipping most of the manual work in that guide. The only thing you may have to do is edit the nginx configration files automatically generated by certbot for Guacamole if you are using it.
If you really want to manually configure everything as that guide suggests, do this instead:
sudo certbot certonly -a nginx -d pstn.pw --rsa-key-size=4096
Thank for your help guys, I spent the whole day on it and finally got it working (as pstn.fun this time), there’s only a small issue left. www.pstn.fun says “insecure connection” so I have to confirm an exception, then it’ll load but as insecure…
I did sudo certbot --nginx -d pstn.fun and did enable https redirection