WSO2 API Manager Deployment Synchronization - SSLv3 Error - wso2

I am getting an error using subversion deployment synchronization in API Manager version 1.4 due to SSLv3 being disabled recently to close SSLv3 POODLE Vulnerability. I am using svnClientBundle-1.0.0.jar in order to connect to SVN. From my research this version is hard coded to use SSLv3. I have not located a solution to make this work. I have tried using the latest svnkit libraries by putting them in repository/components/lib and removing svnClientBundle-1.0.0.jar. This is not working.
Is there a patched version of svnClientBundle-1.0.0.jar that will work with TLS? Another solution?
Thanks in advance
Matt

Related

SOAP UI 5.7.0: Error The server selected protocol version TLS10 is not accepted by client preferences [TLS12]

In SOAP latest version 5.7.0, trying to check SOAP request for java based application. But, getting below error. Tried multiple options provided over stack overflow to update "set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="TLSv1.2" in soapui batch file and "-Dsoapui.https.protocols=TLSv1.2" in SoapUI-5.7.0.vmoptions file. Also, try to update same at java level as well. Still same issue is occuring.
ERROR:Exception in request: javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
FYI, this was working in previous version of SOAP but after upgrade same thing is not working as expected.
It will be helpful that solution is provided for same.
Solution on TLS related error in latest SOAP UI 5.7.0
Try with following:
Open "C:\Program Files\SmartBear\SoapUI-5.7.0\bin\SoapUI-5.7.0.vmoptions"
Append -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.0 if it's not there already.
Then Open "C:\Program Files\SmartBear\SoapUI-5.7.0\jre\conf\security\java.security"
Find jdk.tls.disabledAlgorithms, either comment it with # or remove specific versions, e.g. TLSv1, TLSv1.1
Restart SoapUI and try again.

Handshake errors with Ubuntu 14.0.4 OpenSSL 1.0.1f and TLSv1_2016

Please bear with me. I'm no SSL encrpytion expert. I just want to make connections to a server, using their API. I am unable to. When I use this api as indicated in the documentation, the following error occurs:
[Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
This API seems to be hosted on an AWS server somewhere, and the support person for it has referred me to this AWS document with the added information that their server uses TLSv1_2016. I'm not sure that that's correct, but that's what I was told.
This version of TLS is not supported by the OpenSSL that ships with Ubuntu 14.0.4 (openssl v1.0.1f). Version 1.2 IS supported. I upgrade my system on a regular basis, and it doesn't seem that there is any approved Ubuntu release that supports this protocol. I've been advised to upgrade, but it's not clear to what.
This is all Greek to me. Can someone tell me what upgrade I might be able to do my system to solve this?
UPDATE problem persists after installing Ubuntu-18.04, which comes with openssl 1.1.0g.
Answer mostly from comments.
The problem is apparently that the server, like many SSL/TLS servers today especially those handling multiple domains like Cloudfront, requires the SNI (Server Name Indication) extension in SSL/TLS. This was (and easily is) checked with openssl s_client which (unlike most programs) has an option that controls whether to send SNI.
You didn't previously say that this code is Python. It is Python that links to and invokes OpenSSL. (The OS is not involved in SSL/TLS, only in the lower-level TCP/IP protocols.) According to http://docs.python-requests.org/en/master/community/faq/ (at the bottom)
Python3 and Python 2.7.9+ include native support for SNI in their SSL modules. For information on using SNI with Requests on Python < 2.7.9 refer to this Stack Overflow answer.
linking to using requests with TLS doesn't give SNI support which has several answers that appear to consist mostly of updating various things (and I am not in a position to test even if you gave details of your Python and Requests which you didn't).

coldfusion 2016 cfhttp call to authorize.net returning connection failure

I'm trying to use a cfhttp post to secure.authorize.net/gateway/transact.dll, but am getting a connection failure. I'm using coldfusion 2016 on windows server 2008. I believe I have the correct cert file registered in the java keystore but am not 100% sure. Based on some google searches, I think that is the problem.
I downloaded and registered GeoTrust Primary Certification Authority - G2 from https://www.geotrust.com/resources/root-certificates/
Any tips on how to make sure the proper sha-2 certificate is registered in the keystore? I tried using IE to save the certificate from secure.authorize.net/gateway/transact.dll, by following the instructions here https://www.youtube.com/watch?v=ewT4aud-xww but that also didn't seem to work.
I should add that this wasn't working even before the TLS disablement date of yesterday. That was just a coincidence. I previously had CF 9 installed, and it was working on there. From what I've always understood, the communication failure error usually indicates lack of or incorrectly imnported certifcate into the keystore. I tried copying the CACerts file from the cf9 instal, as well as start fresh and manually import the certs.
It's likely to be related to the disablement of TLS 1.0 and 1.1 which happened today.
We're having the same issue on a couple of servers, but not others, so trying to work out why that is.
All servers are TLS 1.2 enabled, but connections on some appear to be failing.

"server certificate change is restricted during renegotiation" error in BURP

I'm using BURP and I always get this alert after a while (maybe like 2-3 minutes of use)
javax.net.ssl.SSLHandshakeException: server certificate change is restrictedduring renegotiation
any idea where that could come from? I don't see anyone talking about it on internet
You're having the exact same issue that has been asked previously: What means "javax.net.ssl.SSLHandshakeException: server certificate change is restrictedduring renegotiation" and how to prevent it?
In short the issue is due to security controls in the newer Java versions that check whether the certificate that it received for the hostname has the same contents (Subject, Issuer, SANs) as the one it previously received.
This has to do with newer versions of Java with older versions (or the free version) of Burp Suite, and using an upstream proxy. Burp Suite Pro v1.6.07+ fixes this, as well as turning off the upstream proxy or downgrading your Java (though not recommended).

Removing TLSv1.0 in WSO2 EMM 1.1.0

I am setting up a new WSO2 EMM server and, in order to maintain my organization's PCI DSS certification, I have to disable support for any encryption protocol lower than TLSv1.1 before I can put it into production (see this for more information on PCI 3.1).
I edited the file /repository/conf/tomcat/catalina-server.xml as per the documentation. Here is what I tried:
I changed the attribute sslEnabledProtocols from TLS to TLSv1.1,TLSv1.2, but this generates the error
ERROR {org.wso2.carbon.tomcat.internal.CarbonTomcat} -
LifeCycleException while starting tomcat connector
{org.wso2.carbon.tomcat.internal.CarbonTomcat}
in my wso2carbon.log and I'm unable to log into the EMM web console.
Does anyone know how to disable TLSv1.0 without breaking my installation?
cheers,
Found it!
you have to get rid of sslProtocol attribute and replace it with sslEnabledProtocols, they look very similar.