X509: certificate signed by un known authority


(Lsantos) #1

Hi all,
I executed ao steps for Install the TTN Packet Forwarder on a Kerlink IoT Station - https://github.com/TheThingsNetwork/packet_forwarder/blob/master/docs/INSTALL_INSTRUCTIONS/KERLINK.md#troubleshooting.

But when I run the command I’m having x509 certificate problem (x509: certificate signed by un known authority)
image

How can I solve this problem?


(Bsiege) #2

Since it looks like some Linux flavor is running: Try to install ca_bundle or update ca-certificates
Debian-flavors update-ca-certificates RedHat: integrates mozilla bundle


(Lsantos) #3

Hi, Bsiege,

Thank you very much for the response but I tested all the proposed commands and did not succeed.
Would you have other options?

Best regards

Leandro Santos


(Bsiege) #4

Ouch, there where some hints for Linux-aware operators. Including only one command. Since i have no kerlink here, maybe somebody other can give you hints how to add Let’s Encrypt CA in this specific case.


(Arjan) #5

You shouldn’t be using this for new installations to start with.

(Also, like I already asked in a private message: please don’t use screenshots for terminal output.)


(Lsantos) #6

Hi Arjanvanb,
Sorry my misunderstanding !

Could you help me with this issue below?

[root@Wirgrid_08080174 ttn-pkt-fwd]# ./ttn-pkt-fwd start --config=config.yml
INFO Packet Forwarder for LoRa Gateway HALVersionInfo=Version: 4.0.0; Options: native;
ERROR Failed to find gateway specified as gateway ID AuthServer=https://account.thethingsnetwork.org GatewayID=0000024b08080174
error=Get https://account.thethingsnetwork.org/api/v2/gateways/0000024b08080174: x509: certificate signed by unknown authority
FATAL Couldn’t read configuration error=Get https://account.thethingsnetwork.org/api/v2/gateways/0000024b08080174: x509: certificate signed by unknown authority

Best regards

Leandro Santos