---
title: Set Certificate
url: https://docs.vultr.com/reference/vultr-cli/load-balancer/ssl/set-certificate
description: Installs or updates an SSL certificate on a Vultr load balancer to enable secure HTTPS connections for applications.
publish_date: 2025-09-14T03:08:03.094664Z
last_updated: 2025-11-07T17:49:46.275487Z
---

The `vultr-cli load-balancer ssl set-certificate` command uploads and assigns an SSL certificate to a specified load balancer, enabling secure HTTPS connections for your hosted applications.

## Usage

```console
$ vultr-cli load-balancer ssl set-certificate <Load Balancer ID> [flags]
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| - | --base64 | Indicates SSL values are Base64-encoded |
| - | --certificate | Path to SSL certificate |
| - | --chain | (optional) Path to SSL certificate chain |
| - | --private-key | Path to SSL private key |