Issue a certificate using a working Nginx configuration

acme.sh

  • Shell script implementing ACME client protocol, an alternative to certbot.
    See also `acme.sh dns`.
    More information: <https://github.com/acmesh-official/acme.sh>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

acme.sh --issue --nginx --domain {{example.com}}

click the source code to copy