Re: BCJSSE close notify problem
Huangfu <[email protected]>
| Newsgroups | gmane.comp.encryption.bouncy-castle.devel |
|---|---|
| Message-ID | <[email protected]> |
hello peter: I test the sample code is error: // org.bouncycastle.jsse.provider.ProvKeyManagerFactorySpi engineInit 資訊: Initialized with empty key store Exception in thread "main" java.lang.RuntimeException: Export restriction: SSLSocketFactory supports non-pluggable ciphersuite(s) at com.sun.net.ssl.internal.ssl.ExportControl.checkCipherSuites(ExportControl.java:176) at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:164) at userstar.BCJSSEClientTest.main(BCJSSEClientTest.java:110) // SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory(); is error I must to write anycode to the sample code and I use jdk1.5.01\jre\lib\security\cacerts set Trust certificate Best Regards Hwangfu -- Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html