HTTPS call Error in wM

We are trying to hit an URL using Https call by writing a java service inside webMethods but getting error.
From wM Http call is working but giving following error when Https is being used.
“javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificate contains unsupported critical extensions: [OBJECT ID = KeyUsage]”
We have configured the Trusted Certificate Directory wherein we have kept the certificate (.ks file and .cer file)

The same code is working fine when used as standalone java program and Https call. Attached herewith is the wM java service code.

I am attaching the java service code from wm developer.

What needs to be done inside wM to resolve this error.


https.java (2.6 k)