Forum Discussion
I can't find a way to tell soapUI to use TLS 1.2. So how do you actually fix the problem?
Indeed the solution was to set the application server to accept also connections using TLS 1.0, so I passed this parameter at the application server startup:
-Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.0
(so the solution was solved on the other side, not on Soap UI)
Regards,
Edit: in my case the application to which I was talking, was deployed on a Weblogic server on which I had the possibility to change the startup System properties.
- nmrao9 years agoChampion Level 3Of course, you can also set in the soapui to use different version, just a java system property.
Add this to java_opts of soapui.bat file
-Dsoapui.https.protocols=SSLv3,TLSv1.2
See this thread here
https://community.smartbear.com/t5/SoapUI-Open-Source/How-to-enable-TLS-1-2-in-SoapUI/td-p/96239- timmoroz8 years agoOccasional Visitor
THANK YOU !
I've been struggling with this issue for 3 days now and was already going to surrender and then I saw you miraculous answer :)
- nmrao8 years agoChampion Level 3Glad that you trace the right thread. Good to know.
- avidCoder7 years agoSuper Contributor
Hey, I also tried to set the things.. :-
This is how it looks like after the changes.. Could you please see and check what other changes is required?
@echo off
set SOAPUI_HOME=%~dp0
if exist "%SOAPUI_HOME%..\jre\bin" goto SET_BUNDLED_JAVAif exist "%JAVA_HOME%" goto SET_SYSTEM_JAVA
echo JAVA_HOME is not set, unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
goto SET_SYSTEM_JAVA:SET_BUNDLED_JAVA
set JAVA=%SOAPUI_HOME%..\jre\bin\java
goto END_SETTING_JAVA:SET_SYSTEM_JAVA
set JAVA=java:END_SETTING_JAVA
rem init classpath
set OLDDIR=%CD%
cd /d %SOAPUI_HOME%set CLASSPATH=%SOAPUI_HOME%soapui-5.4.0.jar;%SOAPUI_HOME%..\lib\*
"%JAVA%" -cp "%CLASSPATH%" com.eviware.soapui.tools.JfxrtLocator > %TEMP%\jfxrtpath
set /P JFXRTPATH= < %TEMP%\jfxrtpath
del %TEMP%\jfxrtpath
set CLASSPATH=%CLASSPATH%;%JFXRTPATH%rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms128m -Xmx1024m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dsoapui.https.protocols=SSLv3,TLSv1.2 -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" -splash:SoapUI-Spashscreen.pngif "%SOAPUI_HOME%" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%SOAPUI_HOME%\"
set JAVA_OPTS=%JAVA_OPTS% -Dwsi.dir="%SOAPUI_HOME%..\wsi-test-tools"
rem uncomment to disable browser component
rem set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.browser.disabled="true":START
rem ********* run soapui ***********
"%JAVA%" %JAVA_OPTS% com.eviware.soapui.SoapUI %*
cd /d %OLDDIR% - 白夜有点黑6 years agoContributor
In my case, looks this change need to be done with both soapui-pro.bat and SoapUI-Pro-5.1.2.vmoptions file, otherwise, it will not work
-Dsoapui.https.protocols=SSLv3,TLSv1.2
Related Content
- 5 years ago
- 5 years ago
Recent Discussions
- 23 hours ago