Re: BCJSSE close notify problem
Huangfu <[email protected]>
| Newsgroups | gmane.comp.encryption.bouncy-castle.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Peter :
can to fix MyTLSSocketSecureFactory.java and
TSLSocketConnectionFactory.java to Improve the error
link www.google.com is error,but other https link is success not appear
close_notify,This is what I don't understand,In test operation use eclipse
is appear:
//
Caused by: org.w3c.dom.DOMException: NodeImpl Not found
at org.apache.axis.message.NodeImpl.removeChild(NodeImpl.java:515)
at org.apache.axis.message.NodeImpl.setParent(NodeImpl.java:789)
at org.apache.axis.message.NodeImpl.setParentElement(NodeImpl.java:632)
... 14 more
2018/5/23 上午 01:11:31 org.apache.axis.encoding.DeserializationContext
pushNewElement
//
Not all errors, partly correct,if www.google.com is appear error ,Is there
anything wrong with BCJSSE?
and which contains a JSSE provider ("BCJSSE"). By registering the BCJSSE
provider, add TSLSocketConnectionFactory.java
//
if (Security.getProvider(BouncyCastleJsseProvider.PROVIDER_NAME) == null) {
Security.addProvider(new BouncyCastleJsseProvider());
}
//
and java.security use
//
security.provider.1=sun.security.provider.Sun
security.provider.2=org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
security.provider.3=org.bouncycastle.jce.provider.BouncyCastleProvider
//
or have you the better sample code can use ?
Regards
HwangFu
--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html