Add SSL Certificate on ERPNext

I'm going to explain how to add an SSL certificate for free on Nginx based Linux server. For this tutorial, I'm using Ubuntu 20.04.

 · 1 min read

  1. Install snapd if not installed.

    sudo apt install snapd

  2. Update snapd core

    sudo snap install core; sudo snap refresh core

  3. If you have old certbot installed, uninstall it.

    sudo apt-get remove certbot

  4. Install classic certbot

    sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot

  5. Automatic ssl installation

    sudo certbot --nginx or, if you prefer manual installation

  6. Optional, if you want to test "renew" without saving any certificates to disk sudo certbot renew --dry-run

No comments yet.

Add a comment
Ctrl+Enter to add comment