Newer
Older
EnvoyControlPlane / internal / pkg / cert / letsencrypt / renew.sh
curl -X POST \
  http://localhost:8080/issue-certificate \
  -H 'Content-Type: application/json' \
  -d '{
    "domain": "test.jerxie.com",
    "email": "axieyangb@gmail.com",
    "secret_name": "test-jerxie-tls",
    "issuer": "letsencrypt"
  }'


curl -X POST 'http://localhost:8080/renew-certificate' \
  -H 'Content-Type: application/json' \
  -d '{
   "domain": "test.jerxie.com",
   "secret_name": "test-jerxie-tls"
}'