added add_ssl_cert support