DNS Issue with subdomain

I want "www.mydomain.com" to go to "mydomain.com".

Domain & DNS managed on Cloudflare.
I added a CNAME with name "www" and target/content "mydomain.com".
My SSL/TLS encryption mode is Full.
I have Edge Certificates for "*.mydomain.com" and "mydomain.com".

When visiting "www.mydomain.com" I get "SSL handshake failed: Error code 525".

What could be the issue?
Was this page helpful?