当我调用此函数时:
TestPortProxy req = new TestPortProxy();
System.setProperty("javax.net.ssl.keyStore","test.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "test");
System.setProperty("javax.net.ssl.keyStoreType", "JKS");
TestResp res = req.getTestFunction();
我收到此错误:
java.net.SocketException:java.security.NoSuchAlgorithmException: 构造实现时出错(算法:默认,提供者: SunJSSE,类:com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
基本上我试图从java独立应用程序访问安全服务