Hi Muhammad,
the service pub.client:http is the right one, just pass an https-url instead of the http-url.
You can introspect the certificate by opening the https-url in a browser and then check the ssl-config (usually a lock sign in the URL field).
You wont need the public key of the server directly but mainly those certificates from the company (CA) who signed it.
When opening the cer-file on Windows you can switch to the CA certificates und extract them from there.
When adding certificates to your truststore, remember to use “-trustcacerts” parameter in the command so you will automatically trust the certificates in the cacerts file provided by the JVM so you only need to add those certificates to your own truststore which are not present in the cacerts file.
After addiing the CA certificates to the truststore remember to clear the ssl cache in the IS Admin UI, reload them stores and if this does not help you will have to shutdown and restart the IS once.
Regards,
Holger
#webMethods