Certificate issues

Did: apt update / upgrade and got
Err:5 Index of /packages/3.x/deb/ stable Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification.
E: The repository ‘HAD to CUT link to post : chirpstack.io stable Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I’m not sure if this was because of the artifacts.chirpstack.io server certificate or the certificate used for signing the .deb packages.

In case of the server certificate:
The server certificate is issued by Letsencrypt. Their root certificate expired a few months ago. This caused for some users an issue, because the new root certificate was not yet installed on their system. If this is the case, then you need to update the CA certificate bundle on your machine. See also: Chirpstack repository: The certificate is NOT trusted. The certificate issuer is unknown - #4 by brocaar

In case of the .deb signing certificate:
This certificate was renewed beginning this year. You might need to re-fetch it:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00