You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wildcard custom certificates cannot be used for modules configuration #7004
It is not possible to use a third-party wildcard SSL certificate provided by an external authority for configuring modules in NS8. When you upload a third-party certificate, the UI automatically detects the FQDNs included in it. In the case of a wildcard certificate, this means that all FQDNs in the DNS namespace (e.g., *.mydomain.org) are recognized:
However, this "special name" cannot be applied to any of the modules you install on an NS8 node, and the TLS certificates UI does not offer a way to manage this configuration.
Additionally, the settings page for any NS8 module includes an option to manage an LE certificate but does not allow the management of third-party certificates:
In conclusion, there is no way to manage a third-party wildcard SSL certificate within NS8 (and as far as I know, 99% of third-party certificates purchased from external authorities are wildcard certificates!).
At the moment, the workaround is to manually insert the necessary DNS names along with the private key and certificate from the external authority into the redis database.
Running the command to list certificates with api-cli shows that the example.domain.com subdomain fails to obtain its certificate, while others succeed:
[root@server ~]# api-cli run module/traefik1/list-certificates -d '{"expand_list":true}' | jq
Warning: using user "cluster" credentials from the environment
[
{
"fqdn": "mail.service.domain.com",
"type": "internal",
"obtained": true
},
{
"fqdn": "example.domain.com",
"type": "internal",
"obtained": false
},
...
{
"fqdn": "*.domain.com",
"type": "custom",
"obtained": true
}
]
Testing port 443 returns the wildcard certificate instead of obtaining an LE certificate:
Activity
Amygos commentedon Oct 17, 2024
Uploading a custom wildcard certificate prevents all subdomains from obtaining Let's Encrypt (LE) certificates.
Example:
Running the command to list certificates with
api-clishows that theexample.domain.comsubdomain fails to obtain its certificate, while others succeed:Testing port
443returns the wildcard certificate instead of obtaining an LE certificate:Problem:
acme.jsonis not updated, and the event of obtaining a certificate is never triggered.443, it cannot acquire the certificate automatically.scblakely commentedon Jan 15, 2025
Modifying
ns8-mail/imageroot/bin/install-certificate
as follows allows a wildcard certificate to be installed into ns8-mail:
Replace
with the following code:
This checks for a wildcard certificate to install and installs it before looking for the $MAIL_HOSTNAME certificate.
8 remaining items
feat: TLS-ALPN-01 challenge requirements (#145)
nrauso commentedon Mar 14, 2025
test case 1: VERIFIED
test case 2: VERIFIED
test case 3: VERIFIED
test case 4: VERIFIED
DavidePrincipi commentedon Mar 14, 2025
Released
feat: certificate-changed event handler (#63)