a month ago
Hello Railway Community,
I'm experiencing an SSL certificate provisioning issue with a custom domain managed through Cloudflare.
- Domain ownership is verified.
- The required CNAME and TXT records are correctly configured.
- The CNAME uses DNS only, with Cloudflare Proxy disabled.
- DNS propagation is confirmed.
- The certificate remains stuck at
VALIDATING_OWNERSHIP. - HTTPS fails with a certificate hostname mismatch (
SEC_E_WRONG_PRINCIPAL). - The Railway-generated HTTPS domain works normally.
- One certificate retry was attempted without resolving the issue.
What is the safest recommended troubleshooting procedure for this situation?
I prefer not to delete and recreate the domain or change unrelated production settings.
Please let me know whether further investigation requires a private support channel.
Thank you.
1 Reply
a month ago
We checked the two custom domains on your account that are stuck at VALIDATING_OWNERSHIP. Both are blocked by DNS, and neither needs to be deleted or recreated.
Ownership of the staging subdomain is verified. However, our probe shows its traffic still goes through Cloudflare's proxy before it reaches us, so the record isn't DNS only right now. Check that the CNAME for that host is set to DNS only and points at the target shown for that domain in the service's Settings, under Networking.
Ownership of the root domain isn't verified. We don't find the TXT record at host _railway-verify, and it needs to hold exactly railway-verify=96c64f30452eacca8e4b1ecc57b78aad2c33a59dd3f4322b0f1e507234a6842e. The root domain also currently redirects to an external link service instead of reaching your service. Its traffic record needs to point at the CNAME target shown in that domain's settings.
Once these records are correct and have propagated, verification and certificate issuance continue on their own.
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago