How to Configure Auto SSL for Vultr Load Balancer

Updated on 07 April, 2025

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
  • Vultr API
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. Click Configuration.
  4. Click Auto SSL in the left navigation menu.
  5. Optional: Provide a Sub Domain.
  6. Select a Domain Zone.
  7. Click Save changes.
  1. Send a GET request to the List Load Balancers endpoint and note the target Load Balancer's ID.

    console
    $ 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.

    console
    $ 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.

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

Comments

No comments yet.