SSL certificate is configured to Heroku app, not domain


I deployed a website through Heroku and have proxied through Cloudflare for a free SSL/TLS connection. However, the connection is not secure as the certificate was issued to * instead of * (if you go to the connection is secure). My CNAME www target it and when you go there the connection is secure. Also, despite enabling always use HTTPS and check the connection I get this:

C:\Users\James>curl -I -L
HTTP/1.1 200 OK

Instead of a permanent redirect to HTTPS, clients may still connect to HTTP it seems.

Any help would be greatly appreciated, thanks.

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