单个heroku应用上的多个SSL证书? [英] multiple ssl certificates on single heroku app?
问题描述
我有一个现有的多用户heroku应用程序,它使用通配符子域通过https / ssl使用通配符ssl证书来发送当前正在服务以下类型请求的请求
https://app1.example.com
https://app2.example.com
是否可以添加另一个单独的单域SSL证书在以下网址投放请求:
https:// app3 .custom-domain.com
假设所有请求都由一个dyno处理
这是可能的,也不难做到。
只需将域添加到Heroku:
heroku域名:add app3.custom-domain.com
至于证书,请获取多域SAN证书,并包括SAN字段中的所有域;您的通配符 *。example.com
以及单独的域 app3.custom-domain.com
。
请注意,SAN字段中的通配符域仍将收取通配符费用。我知道,因为我已经完成了这项工作。
I have an existing multi-tenant heroku app that uses wildcard subdomains to route requests currently serving the following types of requests below over https/ssl using a wildcard ssl certificate
https://app1.example.com https://app2.example.com
Is it possible to add another seperate single domain ssl certificate to serve requests on a url like:
https://app3.custom-domain.com
Assume all requests are being handled by a single dyno
It's possible and not difficult to do.
Just add the domain to Heroku:
heroku domains:add app3.custom-domain.com
As for the certificate, get a multi domain SAN certificate and include all the domains in the SAN field; your wildcard *.example.com
and also the separate domain app3.custom-domain.com
.
Please note you will still be charged wildcard rates for the wildcard domain in the SAN field. I know because I've done this.
这篇关于单个heroku应用上的多个SSL证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!