MID Server Mutual Authentication Error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:50 AM
Hello,
I am setting up the mutual authentication for the mid servers, basically migrating from basic auth.
As suggested in the documentation (https://www.servicenow.com/docs/bundle/xanadu-servicenow-platform/page/product/mid-server/task/insta...)
We have successfully enabled the first step of mutual auth. But, after that when we are adding Adding new certificate by running the command suggested in given doc, bin/scripts/manage-certificates.bat -a <alias> <fileName>
It is throwing errors like,
ERROR (main) [KeystoreInstallAPI:266] Could not find valid private key
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: Invalid RSA private key
at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:253)
ERROR (main) [KeystoreInstallAPI:552] Could not install custom certificate
java.lang.Exception: Could not extract private key from PEM bundle. Cannot continue with installation
at com.service_now.mid.keystore.api.KeystoreInstallAPI.installPEMBundle(KeystoreInstallAPI.java:124)
### Error : Could not install custom certificate
What can we do to fix this?
Thank You
0 REPLIES 0