Hi,
Thanks for posting question in Microsoft Q&A forum.
You can read below article for the detailed steps to create a wildcard certificate with internal Microsoft CA.
Creating a wildcard webserver certificate with your internal Microsoft CA
You can also follow below vedio to proceed the certificate creation and applying step by step.
Create a Wildcard Certificate using MMC in Windows Server 2019
Best regards,
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.