csr - What FQDN for SSL Certifcate Signing Request when domain A is CNAMEd to domain B -


i generate ssl certificate signing request (csr) procurement , installation of ssl certificate.

my question surrounds should enter fqdn given our specific situation

we hosting domain name 'www.foo.com' within our server.

this domain accessed via different domain 'www.bar.com' cnamed our hosted domain 'www.foo.com'

we want client see domain 'www.bar.com' has valid ssl certificate.

so question is, when generate csr need enter 'www.foo.com.' or 'www.bar.com.' fqdn hostname in csr?

edit: not intended domain name www.foo.com ever used access website.

looking @ answer https://serverfault.com/questions/494654/which-fqdn-hostname-to-use-for-ssl-certificate-signing-request-when-using-a-cna looks in our csr should using 'www.bar.com.' confirmation suitably qualified person appreciated!

www.bar.com

whatever fqdn client requests in browser should in subject of certificate - no matter happens in "the background", in terms of dns resolution, backend proxying etc.

as long browser thinks it's talking www.bar.com, browser expect www.bar.com in certificate


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -