Update deploy/byteplus_alb.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
ACHMAD ALIF NASRULLOH
2026-04-14 21:04:48 +08:00
committed by neil
co-authored by Copilot
Unverified
parent 5c94af86f3
commit a1b94db94d
+7 -5
View File
@@ -5,16 +5,18 @@
# https://github.com/acmesh-official/acme.sh/wiki/deployhooks # https://github.com/acmesh-official/acme.sh/wiki/deployhooks
# #
# Deploys SSL/TLS certificates issued by acme.sh to BytePlus ALB. # Deploys SSL/TLS certificates issued by acme.sh to BytePlus ALB.
# Supports automatic renewal with zero-downtime certificate rotation. # Supports automatic renewal with zero-downtime certificate rotation
# for certificates that have already been uploaded and have a saved
# BytePlus CertificateId.
# #
# ┌─────────────────────────────────────────────────────────────────────┐ # ┌─────────────────────────────────────────────────────────────────────┐
# │ FIRST TIME (new domain) │ # │ FIRST TIME (new domain) │
# │ 1. acme.sh --issue -d example.com -w /var/www/html/ │ # │ 1. acme.sh --issue -d example.com -w /var/www/html/ │
# │ 2. acme.sh --deploy -d example.com --deploy-hook byteplus_alb │ # │ 2. Upload/import the certificate to BytePlus ALB manually │
# │ → UploadCertificate → saves CertificateId │ # │ 3. Save/configure the existing CertificateId for this hook │
# │ 3. Manually assign cert to ALB Listener (one-time only) │ # │ 4. Manually assign cert to ALB Listener (one-time only) │
# │ │ # │ │
# │ RENEWAL (fully automatic) │ # │ RENEWAL (fully automatic after CertificateId is configured) │
# │ acme.sh cron triggers renew → deploy hook runs automatically │ # │ acme.sh cron triggers renew → deploy hook runs automatically │
# │ → ReplaceCertificate (UpdateMode=new) — single API call │ # │ → ReplaceCertificate (UpdateMode=new) — single API call │
# │ → All attached listeners updated, old cert auto-deleted │ # │ → All attached listeners updated, old cert auto-deleted │