Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildcard for second level subdomain

enter image description here

AWS Certificate manager isn't allowing me to add a 2 level wildcard domain name, which would match x.a.example.com, y.b.example.com etc.

Is there a workaround for this? (instead of creating *.a.example.com, *.b.example.com etc)

like image 791
Avery235 Avatar asked Dec 14 '17 10:12

Avery235


People also ask

Do wildcard certificates work for second level subdomains?

A multi-domain wildcard SSL certificate is the perfect solution for situations where you need to secure multi-level subdomains. It allows encrypting multiple levels of subdomains with one certificate. Like the wildcard certificate, it can work whether the sites are on the same or separate servers.

Can wildcard certificate be used for subdomain?

Eliminate The Hassle Of Managing Multiple Certificates SSL.com's Wildcard Certificate lets you protect multiple subdomains with one easy solution! No need to install a separate certificate for each subdomain – a Wildcard Certificate can handle them all.

Can you create a wildcard SSL certificate for two levels?

Yes, you can create a Wildcard SSL Certificate for two levels. You can secure your subdomains within the primary domain, and you can also cover subdomains within a subdomain with a single Multi-Domain Wildcard certificate. However, a standard Wildcard can only secure subdomains at a single level.

What is a second level subdomain?

A Second Level Domain (SLD) is the part of the domain name that is located right before a Top Level Domain (TLD). For example, in mozilla.org the SLD is mozilla and the TLD is org . A domain name is not limited to a TLD and an SLD.


1 Answers

Source: http://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html

Wildcard Names ACM allows you to use an asterisk (*) in the domain name to create an ACM Certificate containing a wildcard name that can protect several sites in the same domain. For example, *.example.com protects www.example.com and images.example.com.

Note: When you request a wildcard certificate, the asterisk (*) must be in the leftmost position of the domain name and can protect only one subdomain level. For example, *.example.com can protect login.example.com and test.example.com, but it cannot protect test.login.example.com. Also note that *.example.com protects only the subdomains of example.com, it does not protect the bare or apex domain (example.com). However, you can request a certificate that protects a bare or apex domain and its subdomains by specifying multiple domain names in your request. For example, you can request a certificate that protects example.com and *.example.com.

Unfortunately this is not possible/supported.

like image 89
jarnohenneman Avatar answered Sep 25 '22 18:09

jarnohenneman