I have a wildcard valid certificate signed by Certificate Authority. Is it possible to test the https locally from the server without a registered DNS?
My idea is to bind the domain name with 127.0.0.1 in /etc/hosts
.
The HTML is running on Nginx container and I am using centos 7.
Is it possible to make an SSL handshake with curl https://<dnsname>.<name>.com:443
or it needs to be public DNS?
Note: ICMP is disabled but the server is connected to internet
--resolve
--resolve
is helpful in my case?curl http://www.example.com --resolve www.example.com:443:127.0.0.1
without bindingexample.com
in/etc/hosts
right?