How to renew the certificate of a device
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.
Click IoT Hub in the IoT Station section of the side menu.
Click the name of your IoT Hub. The Hub’s overview page displays.
Select the Devices tab. A list of your devices displays.
Click the name of the device you wish to renew the certificate for. The device overview page displays.
Scroll to the Renew Certificate section and click Renew Certificate. A pop-up appears with the following warning:Important: Be careful, if you renew this certificate at the following step, you will not be able to connect using the previous certificate.
Click Renew Certificate to confirm.
Click either the Download or Copy buttons to retrieve the new certificate and its private key.Important: Be careful, the keys are displayed only once. They are not stored by Scaleway.
Click Close to complete the renewal process.
Update the certificate on your device (MQTT client) using the certificate and the key you retrieved on step 7.