Certificate not segure

I’ve been trying for many diss to make collaboration work. So far I have managed to make the installation work halfway. I am able to access https://team.mydomain.net . but it shows invalid certificate. I use nginx and download a docker but it works. Do any of you have any idea what else to do to make it work?

with this command I create the docker
docker run -t -d -p 125.243.45.3:9980:9980 -e “aliasgroup1=https://team.mydomain.net:443” -e “username=admin” -e “password=S3cRet” --restart always collaborate/code