将证书添加到信任库以启用SSL通信 [英] Add certificate to truststore to enable SSL communication

查看:220
本文介绍了将证书添加到信任库以启用SSL通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程序在bluemix中运行时,如何将证书添加到信任存储中.有什么方法可以通过编程方式或使用cli更新cacert?

How do I add a certificate to the trust store when application is running in bluemix. Is there any way to update cacert, either programmatically or using cli?

任何文档或相同的链接将不胜感激.

Any documentation or link on the same will be greatly appreciated.

推荐答案

您可以将打包的服务器推送到Liberty buildpack.使用打包的服务器,您可以打包证书并相应地配置server.xml(请参阅

You can push a packaged server to the Liberty buildpack. With the packaged server, you can package the cert and configure the server.xml accordingly (see https://www-01.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/rwlp_sec_keystores.html). The server.xml will be part of the packaged server.

如果您需要更新证书,那么Bluemix Cloud Foundry运行时中的标准方法是重新启动应用程序.

If you need to update the cert, the standard way in Bluemix Cloud Foundry runtime is to repush the application.

这篇关于将证书添加到信任库以启用SSL通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆