Getting error "No subject alternative names" when doing secure URL connection(针对处理https连接的安全异常)(转:http
Gettingerror"Nosubjectalternativenames"whendoingsecureURLconnectionIbelievethat,bydefault,theHTTPSURLclassescloselyfollowtheruleslaidoutforcheckingserveridentityinsection3.1ofRFC2818