Trajan
Trajan
RRailway
Created by Trajan on 3/23/2024 in #✋|help
MySQL | Node.js: self-signed certificate in certificate chain
project id: 42952ebf-512e-4da5-8a59-ab7e240624cf I'm migrating my MySQL db to railway. Connection works fine as long as I don't require SSL, otherwise I get the self-signed certificate error. From reading another answer, I've attempted to download and provide the certificates locally using echo | openssl s_client -showcerts -connect roundhouse.proxy.rlwy.net:24296 > full_output.txt, (i've removed the certificate filter on this command to see the results) and get the following
CONNECTED(00000005)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 327 bytes
Verification: OK
CONNECTED(00000005)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 327 bytes
Verification: OK
My environment holds both the server and the db. Am I expected to connect through the private network to my db? I'm relatively new to backend and db so I can tell I'm missing some important context
24 replies