Greetings,
Which CDN product have you deployed in your environment? If it is Standard Akamai then Custom domain Https requires direct CNAME to enable. Also, Please note that after the custom domain HTTPS feature is disabled, it can take up to 6-8 hours for it to take effect. I hope it got resolved now. Else, let us know we will provide more insights.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.