Kerlink and Chirpstack gateway brdige mqtt ssl

I use the latest version of KerOS with CPF for a Kerlink IStation.
I installed the chirpstack gateway as shown in this link. ( Kerlink - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server)
after configuring the bridge gateway to use the ssl mqtt connection with access control based on a self-signed certificate.
level=error msg="integration/mqtt: connection error" error="network Error : x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0"

I found this solution ( Services not connecting to MQTT broker : ) but with kerlink OS is not an option .

Any hints ?
Thank you
#kerlink #gateway-bridge #mqtt #ssl

@brocaar can you help me please ?

The error message seems descriptive: you need to generate a certificate which correctly uses the server alternate name field for whatever you were trying to provide in the common name.

Is the certificate against a domain name or a static IP? The latter is tricky but can be done.