I am new to SOAPUI. Using it to test my RESTAPI. I need to add an OAuth2 token in the authentication header. I do the following steps:
- Click on Get Token
- In OAuth2 token configuration screen, I enter the authourization and token end points. I am using wso2 Identity server 5.3.0. End points are HTTPS end points.
- Press on 'get token'.
- SOAPUI browser dialog pops up showing 'Page could not be loaded'.
- If I change the end point to a non-https URL, this loads up fine. Tried www.yahoo.com and it loads up fine.
I tried configuring the WSO2 Identity server's JKS file . But did not succeed.
In a nutshell, SOAPUI browser dialog cannot load HTTPS urls. Tried the solution mentioned in the SO post SoapUI fails to connect HTTPS (SSLPeerUnverifiedException)
Added -Djsse.enableSNIExtension=false
to SOAPUI.vmoptions.
But still no good. I am using JDK 7.