Lorix has the correct procedure and .pem file to upload to the gateway.
https://iot.wifx.net/docs/lorix-os/1.0/user-s-guide/lorawan/lorawan-networks/the-things-network/the-things-network-v3-since-2021