Wouldn't this need an internet connection to check the authenticity of the certificate ?
How do you make it work if you are working offline, say in a plane ?
How do you make it work if you are working offline, say in a plane ?
Re-routing the domain to the local machine (by editing /etc/hosts) should work just the same. A certificate from a trusted CA can be validated without an internet connection, they are part of the OS/Browser distribution.