Error 525 SSL handshake failed after CNAME change for Heroku

Hi everyone

I’ve moved from Heroku servers in the US to new Heroku servers in the EU.

I changed my CNAME addresses and now I’m getting an Error 525 SSL handshake failed.

Everything was working perfectly before, with Heroku ACM active and Cloudflare Full SLL with always use HTTPS on.

Does anyone have any ideas what to do here?

Your time and help is greatly appreciated.


You probably lost your certificate in the process of moving. Make sure that you still have a valid one configured.

Thanks for your reply.

I’ve just checked and a Universal Certificate is Active.

I meant on your server.

The following solution appears to have worked:

  1. Turn all CNAME’s orange cloud to grey.

  2. After time site becomes accessible without SSL.

  3. Reactivate cloud to orange.

  4. Site is now accessible with full SSL.

Switching the proxying status shouldnt have any influence on HTTPS. That was probably some timing issue.

1 Like

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