How to configure Trusted certificate in Trading Networks?

  1. Private key created (.key)
  2. CSR created and sent to concerned authority
  3. Concerned authoritie’s supplied the signed certificate (.crt)
  4. we generated jks and pkcs file as per crt profile and key file generated
  5. Tried to load the certificate in the profile. this does not work, throws the exception "Bad certificate chain for usage sign: Certificate chain contains a single certificate, and that certificate is not self-signed. "

Kindly help out on this

Hi Sudharsana,

you will have to add the certificate of the authority to the jks file.

keytool -importcert -trustcacerts -keystore your.jks -file ca.cert -alias CA

Regards,
Holger