How many levels does a Subject Alternative Name (SAN) wildcard replace?
Applies to
- StorageGRID
- S3 virtual-hosted-style requests
Answer
A single level.
Wildcard TLS/SSL certificates simplify subdomain management and reduce costs by using one certificate to secure a single domain and all related subdomains.
By using the asterisk symbol (*) as a placeholder (*.example.com), a wildcard certificate will automatically secure any subdomain at the same level.
If the wildcard Subject Alternative Name (SAN) is
*.company.com:This will work:
support.company.com or mybucket.company.comThis will not work:
mybucket.support.company.comCommand :
curl -v -X OPTIONS https://mybucket.support.company.com will result in an error such as:SSL: no alternative certificate subject name matches target host name 'mybucket.support.company.com'Note: A client such as Cyberduck will automatically switch from virtual-hosted-style to path-style when the SSL connection fails using virtual hosted style.
