You install the certificate On Tomcat. See here.    

In general terms you run the certificate on the device you want to handle HTTPS, which is the web server hosting the subdomain.   This is fairly intuitive as an SSL cert [usually] specifices a single domain, unless you get a wildcard cert or an SNI cert, in which case you would use it in both places.

Where to install SSL Cert
Which SQL-query will be executed with less time — query with WHERE-clause or without, when:


WHERE-clause deals with indexed field (e.g. primary key field)
WHERE-clause deals with non-indexed field


I suppose when we're working with indexed fields, thus query with WHERE will be faster.
Am I right?

Thanks!
