Learn how to configure SSL termination on your OVHcloud Load Balancer and order a free SSL certificate.
The OVHcloud Load Balancer service can be configured to support SSL termination. The purpose of SSL termination is to decrypt the incoming encrypted stream before forwarding it to the appropriate service (web server for example).
SSL termination has a cost for the service that manages it. Rather than letting your servers do it, it is possible to configure your OVHcloud Load Balancer service to do it. Moreover, all your certificates are centralized in one place and their maintenance is easier.
Requirements
- access to the OVHcloud Control Panel or OVHcloud API
- if you are not already familiar with the OVHcloud Load Balancer server, you can use this guide to get started
Configuring the front-end for SSL termination
The first thing to do is to configure your front-end to handle SSL termination.
From the OVHcloud API, the SSL termination is specified by the SSL boolean (don't forget to set defaultFarmId or redirectLocation).
Create a front-end:
POST /ipLoadbalancing/{serviceName}/http/frontend
Then apply the changes:
From the OVHcloud Control Panel:
- Choose the
Bare Metal Cloud
tab in the top navigation bar. - Select
Network
from the left-hand navigation menu. - Click
Load Balancer
and select your load balancer service. - Select the
Front-ends
tab. - Click
Add a front-end
.
An edit window will appear, select the HTTPS
protocol and a Default service cluster with a matching protocol. Then click Add
in the Advanced settings box.
Once the front-end has been created, a banner message will be prompted to Apply configuration
.
On the next screen, select your Datacenter
click Apply configuration
again.
You can monitor the status within the OVHcloud Control Panel.
Order the free SSL certificate
From the OVHcloud API, use the following command. For the order to be finalized, the chosen domain name must point to your OVHcloud Load Balancer service.
From the OVHcloud Control Panel:
- Select the
SSL Certificates
tab. - Click the
Order SSL Certificate
button. - Select
Free
as the Certificate type and fill in a Fully Qualified Domain Name (FQDN). - Click
Order
.
Follow-up on the order
From the OVHcloud API, you can:
Return to task list. You can specify the action type orderFreeCertificate to refine the search.
GET /ipLoadbalancing/{serviceName}/task
Returning the status of a particular task
From the OVHcloud Control Panel:
- Select the
Tasks
tab. - Look at the Task column for tasks labeled as
orderFreeCertificate
.
Delivery of the free SSL certificate
Once the order is complete, the SSL Certificate is automatically installed on your OVHcloud Load Balancer service.
Go further
For more information and tutorials, please see our other OVHcloud Load Balancer guides or explore the guides for other OVHcloud products and services.