ACME with Kong storage
Configure the ACME plugin with Kong Gateway as the storage backend.
Note: This option is not supported in Konnect or DB-less mode.
Prerequisites
-
A public IP and a resolvable DNS
-
Kong Gateway accepts proxy traffic on port 80
Make the following request:
curl -i -X POST http://localhost:8001/plugins/ \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data '
{
"name": "acme",
"config": {
"account_email": "'$EMAIL'",
"account_key": {
"key_id": "'$KEY_ID'",
"key_set": "'$KEY_SET'"
},
"domains": [
"'$DOMAIN'"
],
"tos_accepted": true,
"storage": "kong"
}
}
'
Copied to clipboard!