Openhabian by https

Hello, I want to access openhab on https, I used openhabian-config - NGINX Setup. Received a certificate for the domain issued by DDNS. Check with SSL Labs, says that “Certificate name mismatch” should be? When moving to a domain, firefox complains about an unreliable site.

You will need to type on your browser the exact name as mentioned in your certificate

If you type example.com and your certificate is issued to www.example.com then you will get warnings. Same if you type the ip address.