How to properly configure my Node.js application to use custom domain and custom SSL cerficate
Anonymous
FREEOP

a year ago

Hello, I have a Node + Express server and I have to integrate a payment gateway to it, for that they need to have my 4096 bit signed SSL certificate. I have added the certificate and public key file in the node.js app and configured express to use those. But since I am using a custom domain, Railway automatically provides a let's encrypt certificate by it's own but I don't whant that. How do I implement this requirement? I am using cloudflare for all the routing and DNS settings.

7 Replies

brody
EMPLOYEE

a year ago

Hello!

We do not support providing your own certificates, you would need to use the certificate that's automatically generated for you via let's encrypt


brody
EMPLOYEE

a year ago

n/a


Anonymous
FREEOP

a year ago

but payment gatway will not work that way? no workarounds?


brody
EMPLOYEE

a year ago

perhaps you could put Cloudflare in front of your Railway service, then provide the certificate through Cloudflare.


Anonymous
FREEOP

a year ago

It's quite expensive as I have to buy the Business plan to upload my own SSL, costs 200$ Per month 🥲


brody
EMPLOYEE

a year ago

then maybe you could use other similar services such as fastly


Anonymous
FREEOP

a year ago

okay thanks for the suggestion. Will check


Loading...