-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard custom certificates cannot be used for modules configuration #7004
Comments
Uploading a custom wildcard certificate prevents all subdomains from obtaining Let's Encrypt (LE) certificates. Example:
Running the command to list certificates with
Testing port
Problem:
|
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. |
feat: verify chain of uploaded certificate Refs NethServer/dev#7004
feat(certs): capture ACME error message Refs NethServer/dev#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.
Components
core:2.9.1
traefik:2.2.3
The text was updated successfully, but these errors were encountered: