Error occurs when using "X509Certificate.getInstance(bytes);)"

Pavan S
Tera Contributor

We are using the below script line in Business rule

"var cert = X509Certificate.getInstance(bytes);"
But it is throwing an error like this
"Could not find class: java.lang.ClassNotFoundException: com/sun/security/cert/internal/x509/X509V1CertImpl'"
 
Please find the below snips.
 
PavanK2_0-1727941139584.pngPavanK2_1-1727941159182.png

Can anyone help me on this.

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @Pavan S,

Please refer to the link below:
https://www.servicenow.com/community/itsm-forum/sso-issue-after-adding-x-509-certificates/m-p/583265...


If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.

Thanks & Regards,

Abbas Shaik