Skip to main content
NetApp Knowledge Base

How many levels does a Subject Alternative Name (SAN) wildcard replace?

Views:
82
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

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.com
 
This will not work: mybucket.support.company.com
 
Command : 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.
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.