java ee - com.cybersource.ws.client.ClientException: com.ibm.jsse2.util.h: No trusted certificate found -


i'm new ssl please bare if have asked dumb question.

i'm developing java ee web application deals credit card transactions. here i'm trying use p12 certificate cybersource.

i have local, dev environment runs in windows , use tomcat app server. works fine in local environment. when move same application unix/websphere environment i'm getting, "com.cybersource.ws.client.clientexception: com.ibm.jsse2.util.h: no trusted certificate found" after giving right certificate path in unix box.

i consulted unix admin team issue, , asked me convert p12 file jks , place in web_inf/classes folder. have done using keytool , converted p12 cert jks. still websphere not recognize certificate location.

how type of file related here? why can't use p12 file instead of jks. unix team says, have deal code. i'm stuck issue since week.

please let me know if need further clarification.

websphere manages files you.

you need add signer certificate trust store. simple, follow ibm documentation:

  1. log websphere console (usually https://:9043/ibm/console) click on security > ssl certificate , key management > key stores , certificates.
  2. list item
  3. click celldefaulttruststore.
  4. click signer certificates.
  5. click retrieve port. enter host name, ssl port, , alias of web server. alias typically arbitrary string become name of credentials. click retrieve signer information , click ok. root certificate added list of signer certificates.
  6. restart websphere server , try again app, if still fails should aware of importing signer certificates , not signed certificates.

hope helps


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -