简体   繁体   English

当我已经有根域的SSL证书时,如何添加在dnsimple上为子域购买的SSL证书?

[英]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.

相关问题 Rails,DNSimple,Heroku和SSL-我需要证书吗? - Rails, DNSimple, Heroku and SSL - do I need a certificate? 如何将我从 Godaddy 购买的 SSL 证书添加到 Github? - How do I add a SSL Certificate that I bought from Godaddy to Github? 购买DNSimple SSL证书时,我应该在主机名中添加什么才能使用Heroku ssl插件? - What should I put in Host Name when buying a DNSimple SSL certificate for it to work with the Heroku ssl addon? 如果域重定向,我是否需要SSL证书? - Do I need a SSL certificate for a domain if it redirects? 在子域上测试环境时需要SSL证书吗? - do i need an ssl certificate for testing environment on subdomain? 如何发送带有SSL证书的电子邮件? - How do I send an email with a SSL certificate? 如果我的客户端程序是Java而不是C#,为什么必须添加服务器SSL证书? - Why do I have to add the server SSL certificate if my client program is in Java and not when it is in C#? 如何为 codeanywhere 生成 SSL 证书? - How do I generate an SSL certificate for codeanywhere? 如何验证 python 中的 SSL 证书? - How do I verify an SSL certificate in python? IIS是否进行SSL证书检查或是否必须进行验证? - Does IIS do the SSL certificate check or do I have to verify it?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM