0

Usually, I'd just use keytool like this http://www.ibm.com/support/knowledgecenter/SSYKE2_6.0.0/com.ibm.java.security.component.60.doc/security-component/keytoolDocs/cacertsfile.html but how do I do for Bluemix Liberty runtime?

jschroedl
  • 4,916
  • 3
  • 31
  • 46
Leo
  • 751
  • 4
  • 29
  • Possible duplicate of [Add certificate to truststore to enable SSL communication](https://stackoverflow.com/questions/32180717/add-certificate-to-truststore-to-enable-ssl-communication) – Chris Snow Jun 19 '17 at 03:48

2 Answers2

1

You can still use keytool, you just have to manually update server.xml to point to the cacerts file, then push a server package to Bluemix.[1]

[1] https://console.ng.bluemix.net/docs/runtimes/liberty/ts_index.html

RandalAnders
  • 1,431
  • 9
  • 16
1

I personally don't like modifying cacerts.

I usually create a separate truststore and I import certificates into it with the option to trust cacerts.

Juan
  • 430
  • 3
  • 9