Configuring Auto SSL for Vultr Load Balancer enables automatic management of SSL certificates, enhancing the security of your load-balanced applications by ensuring encrypted connections. This feature simplifies the process of securing your domains by automatically issuing and renewing SSL certificates, protecting your data in transit and improving trust with your users.
Follow this guide to configure Auto SSL for your Vultr Load Balancer using the Vultr Customer Portal or API.
Send a GET
request to the List Load Balancers endpoint and note the target Load Balancer's ID.
$ curl "https://api.vultr.com/v2/load-balancers" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PATCH
request to the Update Load Balancer endpoint and apply Auto SSL to the target Load Balancer.
$ curl "https://api.vultr.com/v2/load-balancers/{load-balancer-id}" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"auto_ssl": {
"domain_zone" : "{your_domain}",
"domain_sub" : "{subdomain}"
}
}'
Send a GET
request to the Get Load Balancer endpoint to fetch the details of the target Load Balancer.
$ curl "https://api.vultr.com/v2/load-balancers/{load-balancer-id}" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
No comments yet.