ยง2024-11-01

acme.sh is a lightweight, open-source shell script for obtaining and managing SSL/TLS certificates from the Let's Encrypt Certificate Authority. It offers a simple and efficient way to automate the process of acquiring, renewing, and deploying certificates.

  1. Key Features of acme.sh:
  1. Basic Installation Steps:
  1. Issue a Certificate: To issue a certificate, use the following command, replacing example.com with your domain:

    • acme.sh --issue -d example.com --webroot /path/to/webroot
  2. Alternatively, for DNS validation:

    • acme.sh --issue -d example.com --dns dns_provider
  3. Install the Certificate: After successfully obtaining the certificate, you can install it with:

acme.sh --install-cert -d example.com \
--key-file /path/to/keyfile.key \
--fullchain-file /path/to/fullchain.cer
  1. Set Up Auto-Renewal: acme.sh can set up a cron job to automatically renew the certificate.

  2. Additional Information: