Contributions
Re: oauth2 GET request fails with HTTP 500 unable to verify the first certificate
Thanks for the reply. Looks like its an issue with my API server not returning the intermediate certificate correctly. Tried the curl command again and I also get an error with that. I must have added in the -k option whilst trying to trace the error.1.6KViews0likes0Commentsoauth2 GET request fails with HTTP 500 unable to verify the first certificate
I've got a swaggerhub API with a request that has OAUTH2 authentication. When I "Try it out" and enter atoken into the Authorisation field andExecute the request I get an HTTP 500 error: "unable to verify the first certificate". When I run the displayed "curl" command in a terminal window it works. Any suggestions?1.6KViews0likes2CommentsRe: SoapUI 5.4.0 Client Credentials Grant - Get Access Token failure
Thanks, I've set the global value(Preferences> HTTP Settings) but still no luck. I was unable to find the setting at the Request level. Does that setting apply to SoapUIs "Get Token"requests or just to user defined requests?5.5KViews0likes2CommentsSoapUI 5.4.0 Client Credentials Grant - Get Access Token failure
I'm trying to use SoapUI 5.4.0 "Get Token" functionality to get the access token for Client Credenttials OAuth2. It fails with the error "Could not retrieve access token ...". I'm running an Oracle ORDS server (17.4.1.353.06.48) in Standalone mode, HTTPS with a self-signed certificate. I can successfully retrieve a token using curl UNIX command and also Advanced REST client. I turned on logging on the ORDS server and the only difference I can spot is that SoapUI is not sending any Authorization with the Client Id and Client Secret. SoapUI - this fails POST /ords/dev/oauth/token HTTP/1.1 Host: 192.168.10.2 Connection: keep-alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Host: 192.168.10.2:8443 Content-Length: 103 Content-Type: application/x-www-form-urlencoded curl - this works POST /ords/dev/oauth/token HTTP/1.1 Host: 192.168.10.2 Authorization: Basic encrypted_client_id/secret User-Agent: curl/7.56.1 Host: 192.168.10.2:8443 Accept: */* Content-Length: 29 Content-Type: application/x-www-form-urlencoded5.6KViews1like4Comments