为什么老是报没有找到证书呢? 我用keytool -genkeypair -alias 127.0.0.1 创建了证书柜啊 密码设置的123456
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:307)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:253)
at Security.MySSHServerSocket.openSSLserver(MySSHServerSocket.java:26)
at Security.MySSHServerSocket.main(MySSHServerSocket.java:16)