How to Configure Auto SSL for Vultr Load Balancer

Updated on November 27, 2024

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.

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Products and click Load Balancer.

    Load Balancer option in products menu

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

    Selection of a target Load Balancer

  3. Click Configuration.

    Button to open Load Balancer configuration window

  4. Click Auto SSL.

    Button to open Auto SSL window

  5. Optional: Provide a Sub Domain.

    Field to provide a sub domain for Auto SSL

  6. Select a Domain Zone.

    Menu to select a domain zone

  7. Click Save Changes.

    Button to save Auto SSL changes

  1. Send a GET request to the List Load Balancer 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/<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"
            }
    }'