---
title: How to renew the certificate of a device
description: This page explains how to renew a Scaleway-generated certificate of a device.
tags: iot iot-hub
dates:
  validation: 2025-07-16
  posted: 2021-07-09
  validation_frequency: 12
---
import Requirements from '@macros/iam/requirements.mdx'


<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- [Created an IoT Hub](/iot-hub/how-to/create-hub/) and [added a device](/iot-hub/how-to/add-device/) to it

<Message type="important">
  The renewal feature becomes unavailable once you have provided your own hub Certificate Authority or previously replaced the device certificate since, in this case, the certificate authority is no longer managed by Scaleway.

  The validity period of certificates generated by Scaleway is 10 years.
</Message>

1. Click **IoT Hub** in the **Integration Services** section of the side menu.
2. Click the name of your IoT Hub. The hub's overview page displays.
3. Select the **Devices** tab. A list of your devices displays.
4. Click the name of the device you wish to renew the certificate for. The device overview page displays.
5. Scroll to the **Renew Certificate** section and click **Renew Certificate**. A pop-up appears with the following warning:
    <Message type="important">
      Be careful, if you renew this certificate at the following step, you will not be able to connect using the previous certificate.
    </Message>
6. Click **Renew Certificate** to confirm.
7. Click either the **Download** or **Copy** buttons to retrieve the new certificate and its private key.


    <Message type="important">
      Be careful, the keys are displayed only once. They are not stored by Scaleway.
    </Message>
8. Click **Close** to complete the renewal process.
9. Update the certificate on your device (MQTT client) using the certificate and the key you retrieved on step 7.


