wsimport from https: [ERROR] java.security.cert.CertificateException: No subject alternative names present
问题 I'm trying to generate a webservice client using wsimport from https wsdl: call wsimport -d bin -s src -p mypackage.ws https://x.x.x.x:8181/services/SomeService?wsdl For solving security errors I added a server's certificate to Java's keystore: keytool -import -keystore c:\Java\jdk1.6.0_38\jre\lib\security\cacerts -file c:\ca-dev.crt But when I do wsimport error appears: [ERROR] java.security.cert.CertificateException: No subject alternative names present Failed to read the WSDL document: