I have an ssl certificate for a domain (let's say
www.blap.com) and I want to try to set it up on a tomcat instance on an local server for testing purposes. Can I trick tomcat and the browser into accepting the ssl certificate by adding
www.blap.com to the hosts file on the local server?