Cobra Forum

Plesk Panel => Web Application => Topic started by: Suhitha on Sep 03, 2025, 06:13 AM

Title: How to Configure Auto SSL for Vultr Load Balancer
Post by: Suhitha on Sep 03, 2025, 06:13 AM
Question: How to Configure Auto SSL for Vultr Load Balancer


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.

Vultr Customer Portal

Note
Auto SSL can only be used with domains that are using Vultr's DNS. Please ensure the subdomain or domain is pointed to the Load Balancer.

1.Navigate to Products and click Load Balancers.

2.Click your target Load Balancer to open its management page.

3.Scroll to SSL, click the pencil icon, and choose Auto SSL.

4.Optional: Provide a Subdomain and select a Domain.

5.Click Save changes.


Vultr API

1.Send a GET request to the List Load Balancers endpoint and note the target Load Balancer's ID.
[color=blue]console
[/color]

$ curl "https://api.vultr.com/v2/load-balancers" \
    -X GET \
    -H "Authorization: Bearer ${VULTR_API_KEY}"

2.Send a PATCH request to the Update Load Balancer endpoint and apply Auto SSL to the target Load Balancer.

[color=blue]console[/color]


$ 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}"
        }
    }'

3.Send a GET request to the Get Load Balancer endpoint to fetch the details of the target Load Balancer.

[color=blue]console[/color]


$ curl "https://api.vultr.com/v2/load-balancers/{load-balancer-id}" \
    -X GET \