amitpahune / jain-sip

Automatically exported from code.google.com/p/jain-sip
0 stars 0 forks source link

Disable SSL authentication in Mobicents whether it is acting as the client or server #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See http://code.google.com/p/sipservlets/issues/detail?id=179

Original issue reported on code.google.com by jean.deruelle on 6 Dec 2012 at 9:25

GoogleCodeExporter commented 8 years ago
http://java.net/jira/browse/JSIP-441

Original comment by jean.deruelle on 6 Dec 2012 at 10:37

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 99b8232c7314.

(git repo)

http://java.net/jira/browse/JSIP-441

Introducing a new Value for ClientAuthType : DisabledAll to disable both client 
and server side tls cert validation for testing environments

Original comment by jean.deruelle on 6 Dec 2012 at 10:38

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 1247c2cf166b.

(git repo)

http://java.net/jira/browse/JSIP-441

Introducing a new Value for ClientAuthType : DisabledAll to disable both client 
and server side tls cert validation for testing environments
(cherry picked from commit 99b8232c73143239bfeb0607db9150f86e42a769)

Original comment by jean.deruelle on 6 Dec 2012 at 10:39

GoogleCodeExporter commented 8 years ago

Original comment by jean.deruelle on 6 Dec 2012 at 10:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision ccab74707755.

(git repo)

http://java.net/jira/browse/JSIP-441

Introducing a new Value for ClientAuthType : DisabledAll to disable both client 
and server side tls cert validation for testing environments
(cherry picked from commit 99b8232c73143239bfeb0607db9150f86e42a769)

git-svn-id: 
https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2196 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 6 Dec 2012 at 10:43

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 2dd1337a63ae.

(git repo)

http://java.net/jira/browse/JSIP-441

Introducing a new Value for ClientAuthType : DisabledAll to disable both client 
and server side tls cert validation for testing environments
(cherry picked from commit 99b8232c73143239bfeb0607db9150f86e42a769)

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2195 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 11 Dec 2012 at 2:48

GoogleCodeExporter commented 8 years ago
The problem still persist even is DisabledAll is set

03-15 17:55:36.855: W/System.err(890): 
com.sp1n3.javax.sip.InvalidArgumentException: No suitable certificates found
03-15 17:55:36.855: W/System.err(890):  at 
gov.nist.javax.sip.SipStackImpl.createListeningPoint(SipStackImpl.java:1585)
03-15 17:55:36.855: W/System.err(890):  at 
com.sp1n3.jaintest.SipConnection.startSipRegistrationTls(SipConnection.java:250)
03-15 17:55:36.855: W/System.err(890):  at 
com.sp1n3.jaintest.SipConnection.init(SipConnection.java:183)
03-15 17:55:36.855: W/System.err(890):  at 
com.sp1n3.jaintest.RegisterClientService.onStart(RegisterClientService.java:91)
03-15 17:55:36.855: W/System.err(890):  at 
android.app.Service.onStartCommand(Service.java:420)
03-15 17:55:36.855: W/System.err(890):  at 
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053)
03-15 17:55:36.855: W/System.err(890):  at 
android.app.ActivityThread.access$3600(ActivityThread.java:125)
03-15 17:55:36.855: W/System.err(890):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096)
03-15 17:55:36.864: W/System.err(890):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
03-15 17:55:36.864: W/System.err(890):  at 
android.os.Looper.loop(Looper.java:123)
03-15 17:55:36.864: W/System.err(890):  at 
android.app.ActivityThread.main(ActivityThread.java:4627)
03-15 17:55:36.864: W/System.err(890):  at 
java.lang.reflect.Method.invokeNative(Native Method)
03-15 17:55:36.864: W/System.err(890):  at 
java.lang.reflect.Method.invoke(Method.java:521)
03-15 17:55:36.864: W/System.err(890):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-15 17:55:36.864: W/System.err(890):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-15 17:55:36.864: W/System.err(890):  at 
dalvik.system.NativeStart.main(Native Method)
03-15 17:55:36.864: W/System.err(890): Caused by: java.io.IOException: No 
suitable certificates found
03-15 17:55:36.864: W/System.err(890):  at 
org.apache.harmony.xnet.provider.jsse.OpenSSLServerSocketImpl.init(OpenSSLServer
SocketImpl.java:61)
03-15 17:55:36.864: W/System.err(890):  at 
org.apache.harmony.xnet.provider.jsse.OpenSSLServerSocketImpl.<init>(OpenSSLServ
erSocketImpl.java:110)
03-15 17:55:36.874: W/System.err(890):  at 
org.apache.harmony.xnet.provider.jsse.OpenSSLServerSocketFactoryImpl.createServe
rSocket(OpenSSLServerSocketFactoryImpl.java:69)
03-15 17:55:36.874: W/System.err(890):  at 
gov.nist.core.net.DefaultNetworkLayer.createSSLServerSocket(DefaultNetworkLayer.
java:104)
03-15 17:55:36.874: W/System.err(890):  at 
gov.nist.javax.sip.stack.TLSMessageProcessor.start(TLSMessageProcessor.java:95)
03-15 17:55:36.874: W/System.err(890):  at 
gov.nist.javax.sip.SipStackImpl.createListeningPoint(SipStackImpl.java:1579)
03-15 17:55:36.874: W/System.err(890):  ... 15 more

Original comment by Sp1n3.t...@gmail.com on 15 Mar 2013 at 4:22

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 99b8232c7314.

(git repo)

http://java.net/jira/browse/JSIP-441

Introducing a new Value for ClientAuthType : DisabledAll to disable both client 
and server side tls cert validation for testing environments

Original comment by jean.deruelle on 19 Aug 2014 at 4:59