Self-hosted TTNv3 local deployment with Self-signed certificate

Issue: Software

Setup: Local Ethernet Network. RAK IP - Server IP

LoRa® Server: Self-hosted instance of The Things Stack Installing The Things Stack | The Things Stack for LoRaWAN

Details: For some reason, RAK cannot make use of self-signed TLS certificates. It is not able to validate the CA and it has been checked multiple times that the certificates are valid. attached images.

System log info > The certificate Common Name (CN) does not match with the expected CN

LoRaWAN Network Settings

TLS Traffic

TTN Web server is perfectly accessible

Certificate creation and verification that it is valid