Mail. and webmail. SSL won't work with HTST enabled on main domain

I have a subdomain: support.mydomain.com and have enabled email with SSL for both webmail.support.mydomain.com and mail.support.mydomain.com (both A records exist). If my subdomain: support.mydomain.com has HSTS enabled, the support and mail domains get SSL errors. When it is disabled they work fine. Is this a bug? using Hestia 1.9.3

What’s the actual domain name?