如何在ibm云上安装letsencrypt证书? [英] how to install a letsencrypt cert on ibm cloud?

查看:153
本文介绍了如何在ibm云上安装letsencrypt证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难在IBM云上安装let加密证书以启用https访问。我使用keytool检查了证书,它包含了所有域名,看起来似乎有效。

I'm struggling to install a lets encrypt cert on IBM cloud to enable https access. I checked the cert using keytool and it includes all domains, and it seems valid.

现在我有两个问题:


  1. https仅在根域 - > https://example.com 但不在我的任何子域上,包括 https://www.example.com

  2. 中间证书未送达,这意味着某些浏览器不会接受它。

  1. https is only enabled on the root domain -> https://example.com but not on any of my subdomains including https://www.example.com
  2. the intermediate cert isnt delivered, which means some browsers wont accept it.

我按照本教程 https://www.ibm.com/blogs/bluemix/2014/09/ssl-certificates-bluemix-custom-domains/ 不幸的是它已经很老了,很可能已经过时了。

I followed this tutorial https://www.ibm.com/blogs/bluemix/2014/09/ssl-certificates-bluemix-custom-domains/ unfortunately it's very old and most probably outdated.

有谁知道怎么做?

谢谢

推荐答案

如果您准备好了文件,请使用 Bluemix CLI 并上传它们:

If you have the files ready, use the Bluemix CLI and upload them:

bx app domain-cert-add www.example.com -c cert.pem -k privkey.pem -i chain.pem

然后查看您的证书:

bx app domain-cert www.example.com






此外,还有 bluemix-letsencrypt Python应用程序,可自动执行LetsEncrypt ACME挑战的全过程,发布证书和密钥文件(.pem),下载它们,然后上传到bluemix。所有这些都是在没有删除 live bluemix应用程序的情况下完成的,因为只有 /。熟知/ acme-challenge / 路径被重定向到python应用程序,并且并非所有 / 根电话。


Also, there is a bluemix-letsencrypt Python application that automates the whole process of doing the LetsEncrypt ACME challenge, issuing the certificate and key files (.pem), downloading them, and then uploading to bluemix. All done without taking down your live bluemix app because only /.well-known/acme-challenge/ paths are redirected to the python app, and not all / root calls.

这篇关于如何在ibm云上安装letsencrypt证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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