Railway built in railway environment variables for Let's Encrypt TLS certificate
Hi there, I'm working on a go server and reading that railway automatically generates a certificate using Let's Encrypt. Is there a way to access this via an environment variable? I would like to use the certificate to serve https on the go server.
Solution:Jump to solution
You won’t need to access them. The server you build will automatically serve https with the built in cert
13 Replies
Project ID:
N/A
not possible
Solution
You won’t need to access them. The server you build will automatically serve https with the built in cert
took the words out of my mouth
all you need to do is run an http 1.1 server
And if you use cloudflare for your dns, you can turn on full ssl and you are golden
Oh wow thats interesting. So I dont have to include any code on the server to explicitly serve with TLS?
Nope. None
in fact, if you where to run an https server, it would not even work
youd get this message if you tried running an https server
I see. Thank you both for the quick response. Glad I asked
That’s what we are here for
no problem!
Brody more than me. But, you get it