5 hours ago
My app reaches MySQL at mysql.railway.internal:3306, but PyMySQL fails with CERTIFICATE_VERIFY_FAILED: self-signed certificate in certificate chain. Where can I get the trusted CA certificate, and which hostname should I use so certificate and hostname verification both pass?
1 Reply
5 hours ago
mysql.railway.internal is the right hostname for reaching your MySQL service from another service in the same project and environment. That traffic already runs inside encrypted Wireguard tunnels and never leaves our infrastructure or touches the public internet.
For internal traffic, we recommend relying on that tunnel instead of adding TLS on top, the same way we recommend http:// over https:// between services. See How Private Networking Works.
Status changed to Awaiting User Response Railway • about 5 hours ago