I am working directly with SmartBear support on this question and they are providing valuable insight.
My first observation is that the SOAPUI/Ready! API application does not provide control of the Cipher string at the request level. The Cipher string is set globally during startup.
Second: The SOAPUI/Ready! API application provides support for ciphers based on OpenSSL. The cipher suite names may be found on the OpenSSL support site. http://www.openssl.org/docs/apps/ciphers.html
Third: SOAPUI/Ready! API application provides us with several methods of starting the application. The Windows start menu, command line execution and batch files are all available. The Windows start menu startup used the SoapUI-5.1.3.vmoptions/ReadyAPI-1.3.0.vmoptions file. The batch file startup use soapui.bat/ready-api.bat. This design provides us with the ability to create multiple configurations via the use of numerous iterations of these configuration/startup files.
Fourth: The JVM option -Dsoapui.https.protocols provides management of the SSL protocol list. This option controls which SSL protocols are available when negiating the initial HTTPS connection between the client and the server.
Fifth: The JVM option -Dsoapui.https.ciphers directs the SOAPUI/Ready! API application to use the OpenSSL cipher string when sending the request to the server.
Sixth: The JAVA JRE which is included with the SOAPUI/Ready! API application does not include the “unlimited” version of the JCE; JAVA Cryptography Extensions. You will need to acquire the current version of the JCE from Oracle to expand the list of potential cipher strings to include all possibilites. Information related to the JAVA JCE may be found at this URL. http://www.oracle.com/technetwork/java/javase/overview/index.html
Summary: Addition of the following JVM options to the appropriate configuration file will provide you with the ability to control the cipher string and SSL protocol used by the SOAPUI/Ready! API application.
When selecting the protocol and cipher options you will need to select valid combinations. There isn’t any pre-processing of the protocol and cipher options which would let you know in advance whether you have an invalid combination. I use the http://www.openssl.org/docs/apps/ciphers.html#CIPHER-SUITE-NAMES section to determine the correct combination.
The correct syntax for the is the represented by the left hand column of the Cipher Suite Names table. The example below represents a TLSv1.2 protocol cipher for AES256-SHA256.
I ran into same issues with enabling TLS 1.2 in SoapUI, and adding those parameters helped. But it’s only for desktop version. Does anyone knows how to enable TLS 1.2 in SoapUI maven plugin?
Originally posted by mhpetersaz on January 24, 2016
I’ve performed the steps outlined in this thread, however, this does not appear to work with SoapUI 5.2.1. I’m still getting “handshake_failure”. The log file is quite lengthy, however, I’d be glad to attach it if necessary.
I would suggest to open a topic (rather than reviving old resolved one) with all the required details. And should be a problem to attach a zip file if you want to upload logs.
Your syntax seems to be off slightly, the double quote character is not positioned correctly. I have just enabled TLS 1.1 for my client by adding the following to my .bat file:
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="SSLv3,TLSv1.2"
Please note the " character is AFTER the =, wrapped around the value of the protocols, and NOT before the - (dash).
You can add the -Dsoapui.https.protocols=TLSv1.2line there.
Worth noting that you have to either go through a terminal to get there, or choose “Show Package Contents” in the /Applications folder to get to the internal files.
I recently had the same problem with SoapUI 5.2.1 on OS X. I tried everything discussed on the forums: made sure to use the correct JRE; added -Dsoapui.https.protocols=TLSv1.2 to vmoptions; tried the “-Dsoapui.https.ciphers=” option with the exact configuration the browser was successfully using to connect to the server; made sure I was using the Unlimited JCE Policy Update in the JRE… nothing worked. Same SSL handshake error.
So, I decided to try the snapshot build of SoapUI 5.2.2 (https://github.com/SmartBear/soapui/) and thatworked properly without any tweaking. (It did take some effort to actually get it to build successfully on my machine, but that’s a separate topic)
Hope that helps, and hope the community and Smart Bear continue development on the open source version.