Hostname/IP does not match certificate's altnames
-ok-HOBBY
a year ago
When I connect from @vercel/postgres to my postgres DB on railway…
I get this error:
Hostname/IP does not match certificate's altnames: Host: roundhouse.proxy.rlwy.net. is not in the cert's altnames: DNS:*.up.railway.app
Is there a way to check that the certs are correct?
3 Replies
a year ago
The proxy addresses do not have certificates, and Postgres databases on Railway run with self signed certificates, it would be best to use the standard pg
package instead.
-ok-HOBBY
a year ago
@brody - thats helpful to know.
I’m on the hobby tier at vercel… using the postgres package to connect -> times out 90% of the time.
Was hoping the official vercel package might work better.
Will give pg a go - thank you.