Nexus repo 3 on podman rootless container does not work with ip after ssl configuration


This is a bit urgent as I’m trying to figure this out from last 2 days. I’ve installed nexus repo3 on podman rootless container with mount volumn on nfs. It worked well, I’ve then configured ssl on nexus and it worked only for DNS. So if I do curl https://dns:8443 it works awesome but if I do the same with https://ip:8443 it gives me tls handshake failure error. Can someone help me on this please?