How to Use ACME Script to Encrypt for your HTTPS Website.

If you find problems … Points for me to setup my server: Configure as root user is better, although non-root users still can find a way to do it (as the following). Set your web root folder to somewhere you have write access to. For example, $HOME/www/html. For Nginx to access to your new web root, you might want to change the user in the nginx.conf, otherwise you could encounter a failure when issuing a cert. By the way, in my opinion, using acme.sh is better than CertBot on a virtualised machine, such as a VPS, because the latter doesn’t support the OpenVz architecture(but the setup is simpler, more or less), which is usually the cheapest type that you can buy. ...

December 6, 2023 · 9 min · ChaosNyaruko

Get Server A basic VPS is enough for personal usage. Nginx Setup apt install nginx main directories and files: /etc/nginx/sites-available /etc/nginx/sites-enabled(typically symbolic links for “available”) /etc/nginx/nginx.conf /var/log/nginx/access.log /var/log/nginx/error.log Get HTTPS Cert Support Using HTTPS should be modern and more secure. https://snapcraft.io/docs/installing-snap-on-debian https://certbot.eff.org/instructions?ws=nginx&os=debianbuster We use certbot to get https support for your website, and renew automatically. Debian10/11 operation example: apt install snapd snap install core snap install hello-world snap refresh core snap install --classic certbot ln -s /snap/bin/certbot /usr/bin/certbot certbot --nginx / certbot certonly --nginx certbot renew --dry-run The job should be in: ...

December 16, 2022 · 1 min · ChaosNyaruko