Setup heroku ssl with cloudflare load balancer

What is the name of the domain?

dev-agency.pangea.ai

What is the error number?

525

What is the error message?

Failed TLS handshake

What is the issue you’re encountering

Setup cloudflare load balancer with heroku domain and ssl certificate

What steps have you taken to resolve the issue?

Created dev domain to replicate my produciton setup

  • failed to replicate - the same setup as I have in prod is returning 525 status

Prod setup is working properly where I have cloudflare load balancer with heroku app endpoint as target and host set to the heroku app endpoint. However heroku can’t renew SSL certificate, which I’m afraid will cause problems down the line.

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

Create application in heroku with domain and ssl cert
Setup CNAME record in cloudflare with the heroku domian record as target - all works properly
Switch CNAME to cloudflare load balancer

  • cant use heroku domain endpoint as target - not routed
  • cant use heroku domain endpoint with host set to heroku app endpoint
  • can use heroku app endpoint - however TLS handshake will fail

Same setup was achieved about 2 months ago - SSL certificates are not renewed (which is the core issue I’m trying to address)

Could you share a HAR file with the support team regarding this to help further investigate this ? as I wasn’t able to replicate the issue you are seeing.

A post was split to a new topic: How to properly setup heroku with custom domain

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.