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 the steps below to configure Auto SSL for your Vultr Load Balancer using the Vultr Customer Portal or API.
Navigate to Products and click Load Balancer.
Click your target Load Balancer to open its management page.
Click Configuration.
Click Auto SSL.
Optional: Provide a Sub Domain.
Select a Domain Zone.
Click Save Changes.
Send a GET
request to the List Load Balancer 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/<loadbalancer-id>" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"auto_ssl": {
"domain_zone": "example.com",
"domain_sub": "sub"
}
}'