search cancel

RA Webservice: Error message: unable to find valid certification path to requested target


Article ID: 197121


Updated On:


CA Automic Workload Automation - Automation Engine


The RA Webservice Agent is unable to connect to a Webservice in SSL mode.

The error message that appears for example upon retrieval of the WSDL: Unable to find valid certification path to requested target 



Configuration error


Release : 12.x



Go to the https webpage and copy the certificate in Internet Explorer.

  1. Go to the https webpage
  2. Right-click on a blank field on the webpage and choose "Properties"
  3. Click on button "Certificates"
  4. Change to tab "Details"
  5. Click on button "Copy to file"
  6. A Window "Welcome to the Certificate Export Wizard" appears
  7. Click on button "Next"
  8. Choose Format "DER encoded binary X.509 (.CER)"
  9. Click on button "Next"
  10. Choose Filename and Download location
  11. Click on button "Next"
  12. Click on button "Finish"
  13. Find out which java version is being used (i.e. open a command prompt and execute the command: java -jar)
  14. Search for a file named "cacerts" in the java directory that runs the RA agent (i.e. C:\Program Files\Java\jdk1.6.0_16\jre\lib\security)
  15. Run the following command on the command line to import the certificate:

keytool -importcert -file c:\Companyj.cer -keystore cacerts 

  1. Create a password (use 'changeitas keystore default password)
  2.  Trust this certificate?: yes
  3.  Certificate was added to keystore


The import is done and the RA agent can connect to the URL specified in the RA agent.

It is necessary to have all certificates installed for all Webservice/VM environments connecting to.