[英]How to keep the SSL server certificate for verification in Cloud Foundry/Heroku?
I am developing an app to run in Cloud Foundry. 我正在开发一个可在Cloud Foundry中运行的应用程序。
The problem is that I have to re-upload the app to Cloud Foundry once the public key of the SSL cert changes. 问题是SSL证书的公钥更改后,我必须将应用程序重新上传到Cloud Foundry。
Here are some possible solutions: 以下是一些可能的解决方案:
Question 题
I am seeking for a common and safe way to keep the SSL server cert in a Cloud Foundry env. 我正在寻找一种通用安全的方法来将SSL服务器证书保留在Cloud Foundry env中。 Are any of the above solutions viable? 上述解决方案是否可行? If not, is there any other CF preferred ways? 如果没有,还有其他CF首选方法吗?
Thank you 谢谢
This is a bit old, but in case this helps... 这有点旧,但是如果有帮助的话...
Did you try to generate your server SSL certificate with whatever hostname (even "localhost"). 您是否尝试使用任何主机名(甚至“ localhost”)生成服务器SSL证书。 As you are uploading this certificate in your application (ie to "blindly" trust it), I think that it could work and this would avoid dependencies with your IP address. 当您在应用程序中上载此证书时(即“盲目”信任它),我认为它可以工作,并且可以避免对IP地址的依赖性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.