0

I've an application written in Java, spring boot. Details about that is mentioned below:

  1. Application is deployed on Openshift Container

  2. Application have to connect to IBM MQ Hub as for messaging, which is a remote server

  3. To communicate with MQ server, I'll have to enable a secure connection between application and server

  4. To implement secure connection between application and MQ server, we are using certificate based authentication.

  5. Certificate is a Venafi certificate and it is stored in container at different location

  6. Certificate password is encrypted and key to decrypt that is given to us

  7. Now, we have to write a code to enable secure connection between my application and MQ server by fetching certificate first and followed by decrypting it and then establishing secure connection.

I've implemented using URL to fetch the certificate path then decrypting then creating a trustStoreManager.

Finally, I've initialised it using SSLContext.init method.

But it seems like this is not proper implementation. Can anyone please guide me?

TIA!!

chughts
  • 4,210
  • 2
  • 14
  • 27

0 Answers0