Issue2641

classification
Title: certificate verify failed (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)
Type: behaviour Severity: major
Components: Core Versions: Jython 2.7
Milestone: Jython 2.7.1
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Neha, amak, jamesmudd
Priority: Keywords:

Created on 2017-11-06.07:16:43 by Neha, last changed 2017-11-10.17:48:36 by amak.

Messages
msg11648 (view) Author: Neha Pithadiya (Neha) Date: 2017-11-06.07:16:42
With JAVA 8.1 and jython-standalone-2.7.1.jar , 

observed following error :-
certificate verify failed (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)


refer this old issue for more details:-
http://bugs.jython.org/issue2614,

I want to know what could be the problem here.
msg11649 (view) Author: Neha Pithadiya (Neha) Date: 2017-11-06.07:19:02
Is there some method to generate some debug logs for this issue.
msg11650 (view) Author: Neha Pithadiya (Neha) Date: 2017-11-07.06:18:22
Any updates on this. ? this issue is critical.
msg11653 (view) Author: James Mudd (jamesmudd) Date: 2017-11-08.10:52:19
There is some discussion about a similar problem also where Netty is being used here https://github.com/lightbody/browsermob-proxy/issues/615

I don't think we can really investigate this at the moment can you provide some example code which demonstrates this is a Jython problem? The smaller the better. The current information doesn't suggest anything is going wrong in Jython.

My initial guess is this is a security configuration issue with the certificates or the JVM but its not an area im expert in.
msg11655 (view) Author: Neha Pithadiya (Neha) Date: 2017-11-08.11:24:19
I dont think it is security configuration issue with the certificates or JVM in our system. We are not making any changes in configurations related to security while using this jar. I also mentioned in my old bug that old jython jar 2.7.0 does not create this problem but this new jar does. 
There are some changes in the new jar 2.7.1 which is causing issue. Our code remains the same whatever part it is. 


please see the below code which shows the problem:-

[root@sccm2106 bin]# ./sccmCLI.sh 
certificate verify failed (javax.net.ssl.SSLHandshakeException: General SSLEngine problem) (1)
[root@sccm2106 bin]# 


sccmClI.sh

. `dirname $0`/setupEnv.sh
$JAVA_CMD -jar $TUAM_LIB/jython-standalone-2.7.1.jar $TUAM_BIN/sccmCLI.py "$@"



Thanks, 
Neha
History
Date User Action Args
2017-11-10 17:48:36amaksetnosy: + amak
2017-11-08 11:24:20Nehasetmessages: + msg11655
2017-11-08 10:52:20jamesmuddsetnosy: + jamesmudd
messages: + msg11653
2017-11-07 06:18:23Nehasetmessages: + msg11650
2017-11-06 07:19:02Nehasetmessages: + msg11649
2017-11-06 07:16:43Nehacreate