Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
Resolution:
Title:
I got the following exception when calling a web service from BW:
Endpoint initialization error caused by Server certificate is invalid
The reason for this issue is because I didn't provide server certificate when calling the web service.
How can I download server certificates from the web service provider and use it in BW
Resolution:
For example, if the web service you want to invoke is from https://gatewaybeta.fedex.com:443/web-services, here is the steps to follow to get the server certificates:
- Go to "https://gatewaybeta.fedex.com:443/web-services"
- Make sure Status Bar from View is selected in your Browser.
- Click on Lock Icon (SSL Secured) on the lower corner of your browser on Status Bar. Now you see Certificate window.
- Go to the Details Tab and click on Copy to File.
- Select Cryptographic Message syntax Standard AND Include All Certificates in the Certificates Path if Possible.
- Do Next and specify the name of the file you want to be exported. Make sure you use .p7b extension (like c:\temp\enasrapi.p7b).
- Do Next again and Finish.
From BW side
- Go to the Designer and create a Folder.
- Go to Tools/Trusted Certificates/ Import into PEM Format and import the certificate into the newly created folder from Step 1.
(see the project I sent you)
- Go to SOAPRequestReply and Transport Details.
- Click on Configure SSL and enter "Trusted Certificate Folder" by specifying the folder where certificates are from step 2.