> For the complete documentation index, see [llms.txt](https://admin-things5.gitbook.io/things5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://admin-things5.gitbook.io/things5/integrations/devices-and-provisioning/get-ssl-certificates.md).

# Get ssl certificates

Obtain certificates for connecting to the MQTT broker

{% hint style="info" %}
To complete this task, you must first know up your [device\_id ](/things5/integrations/devices-and-provisioning/get-device-id.md)for which you want to obtain the certificates
{% endhint %}

To obtain the certificates you have to:

* obtain the access token: \
  please refer the online documentation at <https://things5.readme.io/reference/authorization-http>
* download and use the compressed certificates:&#x20;

  please refer the online documentation at  <https://things5.readme.io/reference/device-provisioning>

  You should now have a zip file containing the certificates.

{% hint style="danger" %}
**Pay attention**: certificates generation will immediately invalidate the old certificates and any open connection using the old certificates will be closed.
{% endhint %}
