Leonardo Kenji Shikida
Leonardo Kenji Shikida

Reputation: 751

How to add a certificate to cacerts in bluemix

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?

Upvotes: 0

Views: 260

Answers (2)

Juan
Juan

Reputation: 430

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.

Upvotes: 1

RandalAnders
RandalAnders

Reputation: 1441

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

Upvotes: 1

Related Questions