Wildcard domain *.audigrowth.com.br failing to issue TLS certificate — internal error
growthaudi-cell
HOBBYOP

2 months ago

I need you to purge the cached DNS TXT records for the ACME challenge

subdomain on my zone audigrowth.com.br.

The specific record is: _acme-challenge.audigrowth.com.br

I'm trying to issue a wildcard SSL certificate via Let's Encrypt through

Railway (my hosting provider). The certificate authority keeps reading

stale ACME challenge values that Cloudflare has cached from previous

issuance attempts, even after I deleted and recreated the DNS record

multiple times.

Railway support confirmed this is a Cloudflare internal cache issue.

Can you please purge the cached TXT values for that subdomain?

Zone: audigrowth.com.br

Record to purge: _acme-challenge.audigrowth.com.br

Solved

4 Replies

Railway
BOT

2 months ago

Your wildcard certificate is stuck because your DNS provider's authoritative nameservers are serving cached ACME challenge TXT values from a previous issuance attempt, which don't match the current token we published. The delegation CNAME itself is correct, but the provider is flattening it and answering with stale data, so every issuance attempt fails identically. To fix this, delete the ACME challenge CNAME record at your DNS provider, wait a moment, then recreate it using the value shown in your service's Settings under Networking in the Railway dashboard. If your provider continues serving the old values after that, you'll need to ask their support to flush the cached records for that challenge subdomain.


Status changed to Awaiting User Response Railway • about 2 months ago


growthaudi-cell
HOBBYOP

2 months ago

I have already tried deleting and recreating the _acme-challenge CNAME

record multiple times over several days. The issue persists.

Railway support in another thread confirmed this is a Cloudflare internal

cache problem — Cloudflare is flattening the CNAME and serving stale TXT

values even after the record is deleted and recreated.

I contacted Cloudflare support to purge the cached records for

_acme-challenge.audigrowth.com.br. While waiting for their response,

can a Railway staff member please force-issue the certificate manually

on your end, or confirm if there is a backend fix available?

This has been failing for over a week.


Status changed to Awaiting Railway Response Railway • about 2 months ago


growthaudi-cell
HOBBYOP

2 months ago

I have already tried deleting and recreating the _acme-challenge CNAME

multiple times over several days, including waiting hours between attempts.

The issue persists.

I found this thread where a Railway employee (brody) manually kicked off

a certificate re-issuance for a user with the same symptoms:

https://station.railway.com/questions/ssl-certificate-not-provisioning-for-cus-dfa2f3bd

My DNS configuration is correct (verified), no CAA records, Cloudflare

SSL/TLS in Full mode, Universal SSL active. This appears to be the same

internal Railway certificate issuance error.

Could a Railway staff member please manually kick off a certificate

re-issuance for *.audigrowth.com.br?

Project: grand-nourishment

Service: audi-growth

Environment: production

Domain: *.audigrowth.com.br


Status changed to Awaiting Railway Response Railway • about 2 months ago


sam-a
EMPLOYEE

2 months ago

A manual re-issue won't fix this. When we query the ACME challenge subdomain against your DNS provider's own nameservers, they return two TXT values we don't publish anywhere. Your provider is resolving our delegation itself and serving a cached result instead of following the CNAME live, so Let's Encrypt reads stale values and every attempt fails identically, including one we trigger by hand. The "internal error" is a generic wrapper, not a fault on our side.

A full reset usually clears it. Remove the wildcard domain from the service in Railway and delete the challenge CNAME at your provider. Turn Universal SSL off under SSL/TLS, Edge Certificates, wait about ten minutes, then turn it back on. Re-add the wildcard in Railway and set up the records the dashboard gives you. The Universal SSL toggle is the part that matters, since editing the record alone doesn't clear their cache. Your other subdomain's certificate is valid and stays untouched.

If it still fails, your provider's support ticket will move faster with a reproducible query: a TXT lookup for the challenge subdomain against their nameservers, and the same lookup against our delegation target, should return matching values. Right now they don't.


Status changed to Awaiting User Response sam-a • about 2 months ago


Railway
BOT

2 months 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 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...