---
title: "Commande d'un certificat SSL gratuit"
description: "Commander un certificat SSL gratuit pour vos services web derrière un Load Balancer"
url: https://docs.ovhcloud.com/fr/guides/network/load-balancer/order-freecertificate
lang: fr
lastUpdated: 2025-10-24
---
# Commande d'un certificat SSL gratuit

## Objectif

Le service OVHcloud Load Balancer peut être configuré pour prendre en charge la terminaison SSL.

La terminaison SSL a pour but de déchiffrer le flux chiffré entrant avant de le faire suivre vers le service approprié, tel qu'un serveur web.

Le traitement de la terminaison SSL sur le Load Balancer réduit la charge de calcul sur vos serveurs backend et centralise la gestion des certificats. Cela facilite la maintenance et les mises à jour de sécurité.

**Découvrez comment commander un certificat SSL gratuit depuis votre espace client OVHcloud ou via l'API OVHcloud.**

## Prérequis

- Posséder une offre [OVHcloud Load balancer](https://www.ovhcloud.com/fr/network/load-balancer/) dans votre compte OVHcloud.
- Être connecté à votre <ManagerLink to="/">espace client OVHcloud</ManagerLink>

## En pratique

### Depuis l'espace client OVHcloud

La première étape est de configurer votre frontend pour gérer la terminaison SSL.

Vous pouvez configurer votre terminaison SSL depuis l'espace client OVHcloud
 dans la partie `Bare Metal Cloud
` puis `Load Balancer
`.
Après avoir sélectionné le Load Balancer que vous souhaitez modifier, créez un nouveau frontend ou éditez-en un existant.

Dans l'onglet `Frontends
`, cliquez sur le bouton `Ajouter un frontend
` pour en créer un nouveau.

Une fenêtre d'édition apparait alors, sélectionnez le protocole `HTTPS`
. Ensuite, renseignez le champ `Ferme par défaut`
. 

Enfin, ouvrez les paramètres avancés et renseignez le champ `Redirection HTTP`
.
![Configuration la terminaison SSL d'un Frontend](/images/network/load-balancer/order-freecertificate/enable_ssl_terminaison.png)
Une fois le frontend créé, une bannière apparaîtra vous invitant à `Appliquer la configuration
` pour déployer vos changements dans la zone concernée.
#### Commander le certificate SSL gratuit

Dans l'onglet `Certificats SSL
`, cliquez sur le bouton `Commander un certificat SSL
` pour en créer un nouveau. Une fenêtre d'édition apparait alors avec un champ `FQDN`
 à renseigner.
![Ajouter un certificate SSL gratuit](/images/network/load-balancer/order-freecertificate/add_freecertificate.png)
#### Suivi de la commande

Vous pourrez suivre votre commande dans l'onglet `Tâches
`. La tâche correspondant à la commande d'un certificat SSL gratuit est nommée `orderFreeCertificate`
.
### Depuis l'API OVHcloud

#### Configurer le frontend pour la terminaison SSL

Dans l'API, la terminaison SSL est spécifiée par le booléen `ssl`. Pour activer la terminaison SSL, réglez ce paramètre sur `true`, puis définissez `defaultFarmId` ou `redirectLocation` avec les valeurs correspondantes.


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/frontend)

Appliquez ensuite les modifications :


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/refresh](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/refresh)

#### Commander le certificat SSL gratuit

Dans l'API, la commande se fait via l'appel suivant :


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/freeCertificate](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/freeCertificate)

Pour que la commande soit finalisée, il faut obligatoirement que le nom de domaine choisi pointe vers votre service OVHcloud Load Balancer.

#### Suivi de la commande

- Retourner la liste des tâches

Vous pouvez spécifier le type d'action `orderFreeCertificate` pour affiner la recherche.


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/task](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/task)

- Retourner le statut d'une tâche en particulier


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/task/{id}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/task/-id-)

Une fois la commande finie, le certificat SSL est automatiquement installé sur votre service OVHcloud Load Balancer.

## Aller plus loin

Échangez avec notre [communauté d’utilisateurs](https://community.ovhcloud.com/).
