Error javax.net.ssl.SSLException: Tag mismatch! when trying send REST message

Ladislav Hasala
Tera Contributor

Hello,

I am starting with integration, where is needed to implement mutual auth - based on certificates.
I've received .cer file from other side. From our side we have generated .pfx file via CA authority, along with that, .cer was generated and sent to other side, I hope this is how it works.

Our .pfx file with password is saved in x509 as Type "PKCS12 Keystore", .cer from other side is saved there in PEM format as "Trust store cert"

But for now, when I try to test HTTPS method, I am facing the error "javax.net.ssl.SSLException: Tag mismatch!", what can be the issue? I am not that much into Java and I was not able to find anything related to this error in ServiceNow

Many thanks for any advice!

0 REPLIES 0