try ssl_exceptions instead