2 months ago
We are trying to install a custom SSL certificate for our domain. For this process, we need a Certificate Signing Request (CSR) generated from the hosting server.
Since our application is hosted on Railway, could you please guide us on how we can generate a CSR for our domain from Railway? If CSR generation is not supported directly, please let us know the recommended method to install a custom SSL certificate for a domain hosted on Railway.
Domain: harmfulcontentprevention.com
1 Replies
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
Your certificate can't be issued because your apex domain is not using a CNAME record. It appears you're using an ALIAS or ANAME record, which Railway does not support for certificate issuance.
You have two options:
- Switch your DNS provider to Cloudflare, which supports CNAME flattening at the apex. This lets you set a CNAME on the root domain.
- Use a subdomain (e.g.
www) instead of the apex domain.
To fix this: remove the custom domain from your service in the Railway dashboard, then re-add it. The dashboard will show the required CNAME and TXT records to configure in your DNS provider.
Railway handles SSL certificates automatically. There is no need to generate a CSR or install a custom certificate. Once your DNS is configured correctly, your certificate will be issued automatically.
Status changed to Awaiting User Response Railway • 2 months ago