I have a webserver hosting an application that is accessible to the Internet but only has DNS records on my corporate DNS server.
We have a few contractors accessing this site from outside the network and while they can do so just fine via IP address, their browser properly flags the SSL cert as being invalid and forces them to HTTP.
I want to ask them to edit their HOSTS file and add a record for this site. If they do that, will their browsers properly acknowledge the site's SSL cert? Note that the cert is issued by DigiCert so there won't be a chain of trust issue - the only weak link was the DNS registration.
(We're setting up VPN access for these users but it takes a few weeks to go through internal red tape so this is a short-term solution.)