adding support for SSL certificates back into the mix