I've created an SSL certificate for mail.mydomain.com, but I'm not sure how to assign/apply it to the CNAME "mail.mydomain.com." I attempted it from both the WHM and the cPanel.
>>If you install an SSL cert for mail.domain.com it will automatically apply for cname also.
Please let us know what error are you facing with CNAME.