How to bind a certificate to the nextcloud name

Hey!
I have installed nextcloud on ubuntu server 18. All functions are working fine. I have published my cloud for some users. But they have an access problem because of the certificate. I have a * dc.cer certificate for my domain. How to bind a certificate to the nextcloud name - cloud.dc?