[英]How do I add the SSL certificate I bought on dnsimple for a subdomain when I already have an SSL certificate for the root domain?
In Heroku Settings, the SSL is showing for www.example.com but there is no where for me to add an SSL certificate for subdomain.example.com. 在“ Heroku设置”中,显示的是www.example.com的SSL,但是我没有地方为subdomain.example.com添加SSL证书。
In DNSimple instructions it says to install the certificate at the command prompt: 在DNSimple指令中,它说要在命令提示符下安装证书:
$ heroku certs:add subdomain_example_com.pem subdomain_example_com.key
This results in: 结果是:
Resolving trust chain... done
▸ Potentially Destructive Action
▸ This command will change the certificate of endpoint *********-17151 from ⬢ afternoon-********-5203.
$ heroku certs
***********-17151 www.example.com, example.com 2018-01-29
How do I install this SSL certificate for the subdomai without messing with the existing SSL certificate for www.example.com? 如何在不破坏www.example.com的现有SSL证书的情况下为subdomai安装此SSL证书?
您在Heroku上只能拥有一个SSL证书,因此,如果您想要的子域比www多,则需要通配符SSL证书。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.