Hi sai pavan,
If you are following the same way of generate certificate as the lab, take in consideration that is Self Signed certificate so that message "not secure" is expected.
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-group-ssl
If you need to continue with your test and show this selfsigned certificate as trusted you can follow:
If you need to publish this as production environment , instead of execute the step "Create a self-signed certificate" you need to buy a certificate and upload to use and configure it.
Let me know if you have any other doubt.
Luis