Added support for SSL certificates