Hi
After Security Update: "Default Password p12 Keys" it is not so clear how to provide a p12 certificate password in the cybersource properties file. If I use "keyPassword" property in the properties file, I receive following error in the log:
“com.cybersource.ws.client.ClientException: Signature creation failed”
2025-08-28 11:17:43.116 AWT-EventQueue-0 TRANSTART> =======================================
2025-08-28 11:17:43.117 AWT-EventQueue-0 MERCHCFG > merchantID=customer, keysDirectory=c:/cybersource, keyAlias=(null), keyPassword=#TestPassword3, sendToProduction=false, sendToAkamai=false, targetAPIVersion=1.134, keyFilename=(null), serverURL=(null), namespaceURI=(null), enableLog=true, logDirectory=Cybersource, logFilename=(null), logMaximumSize=100, useHttpClient=false, timeout=1000, useSignAndEncrypted=false
2025-08-28 11:17:43.122 AWT-EventQueue-0 REQUEST > UUID > 6aff13fb-84a9-45b5-b2f2-7afecae22f2b
Input request is
=======================================
purchaseTotals_currency=USD
paymentSolution=
clientLibrary=Java Basic
merchantID=customer
merchantReferenceCode=1xxxxxxxxxx
ccCaptureService_run=true
clientEnvironment=Windows 11/10.0/Eclipse Adoptium/17.0.5
vc_orderID=
clientLibraryVersion=6.2.3
ccCaptureService_authRequestID=7xxxxxxxxxxxxx5
purchaseTotals_grandTotalAmount=11.0
2025-08-28 11:17:43.124 AWT-EventQueue-0 INFO > Client, End of soapWrap 7ms
2025-08-28 11:17:43.205 AWT-EventQueue-0 INFO > Client, End of loadMerchantP12File 80ms
2025-08-28 11:17:43.206 AWT-EventQueue-0 INFO > Signing request...
2025-08-28 11:17:43.267 AWT-EventQueue-0 EXCEPTION> Failed while signing requeest for , 'customer'
2025-08-28 11:17:43.267 AWT-EventQueue-0 EXCEPTION> ClientException details:
innerException:
If to remove "keyPassword" property from the cybersource properties file it is working correctly, but only for a day or two and after that error appeared in the log: java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.
Thanks, Anton
08-28-2025 08:55 AM