0

Getting error - unable to find valid certification path to requested target in Rest assured . I am trying to get response using post method in rest assured. I am getting response in soap UI without any error but in rest assured getting error. This is the statement I am trying to execute in eclipse using java and rest assured

String response = RestAssured.baseUri(base).Body(request).Post().asPrettyString();

I also tried relaxedHTTPSValidation() method but with that method I am getting error "content is not allowed in prolog" , as i dont have admin rights i wont be able to add certificate from cmd,i have downloaded the certificate from browser ,but IDK how can i use this without admin rights. Can you please help. Thanks!

Rakesh
  • 1
  • 2
  • Welcome to Stack Overflow. Please take a minute to read [ask] and [mcve] then [edit] your question to include more details so that we can help you. – Code-Apprentice Feb 24 '22 at 17:37

0 Answers0