jatkin
jatkin
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Awesome
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
@Chaika One more question: I see that the custom hostnames I added have an expiry date of about 3 months. How is renewal handled with custom hostnames? There's also this section lower down, DCV Delegation. What role does that play in renewal?
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Awesome! Yep everything green now, thanks so much for your help 🙏 Last step is to provide a way for Caddy to check if a domain is valid for on-demand TLS, will probably run the redirect node in the same VPC as my main API and database and expose an endpoint off my main API.
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
😂 That's good to know
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Seems to be working now, except it still says Pending Validation (HTTP). Hostname status is Active.
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Yeah, just added the cname and everything clicked into place
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
No description
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
No description
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Also good idea on using a separate domain for custom domains, I'll likely do that 👍
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Found the issue: my Worker Route was set to *.mysaasapp.com/*, I changed it to */* and now getting the Not Found page from R2. Thanks a lot Chaika 😀 I'm not super clear on how HTTP validation works, do you think you could give me a brief overview? Looks like I need to configure my own web server on the origin to respond with the data they provide when I add a custom hostname. How would this work if I don't really have an origin per-se, and the only content served by my zone is from a Worker?
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Right, unfortunately I have to assume my users are using registrars that don't support ALIAS records. If I use my own web server to handle the www redirect, and use something like Caddy to generate LetsEncrypt records for the root domains, would that SSL cert handle the redirect without issue? "add the verification txt first -> wait for verify -> then add" What does the second "add" here refer to? In testing it just now I had to first add the hostname pre-validation TXT, then the certificate validation, is this what you're referring to? Also, just tested the flow with www.myvanitydomain.com and now I'm getting a timed out error... 🤔 I'm expecting a Not Found page from R2, same as if I access my routing logic under a subdomain that doesn't have an entry in KV.
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Yeah, I'm trying to access www.myvanitydomain.com. If I access it with HTTP instead of HTTPS I get a Cloudflare branded error page so I know at least the CNAME is pointing at Cloudflare. The vanity domain's DNS is managed by AWS Route53. And damn I forgot I'll have to deal with SSL for the root domain too... 😭 do you have any suggestions there? If there's a way to handle the redirect within Cloudflare that would be awesome, but from what I can tell I need a static IP for the A record which is tough to get from CF unless I'm on enterprise... Just realized I might have misconfigured it: when I'm adding the custom hostname in the console, should I add the root domain or the domain with the www CNAME? I added it as the root domain which might explain the SSL issue
28 replies
CDCloudflare Developers
Created by jatkin on 10/7/2024 in #general-help
Help with Cloudflare for SaaS - customer onboarding flow and SSL issues
Certificate status and hostname status are both active
28 replies