Search code examples
eclipse-hono

How do I use client certificates for authentication against Hono?


Where do I best start if I want to use authentication with client certificates in Hono? In the User Guide is a short description but a this does not show all required steps in one place.


Solution

  • Make sure that you are able to connect to the respective protocol adapter with TLS (see the Admin Guide for configuration). Here is an article, that provides a complete walk-through guide for all required steps.

    Additionally you can use and adapt the script for the creation of demo certificates in the Hono repository. More information can be found in the user guide of the protocol adapters (MQTT, HTTP).