Wazuh dashboard TLS with Let's Encrypt or NGINX: when a trusted certificate is worth the work
If your Wazuh dashboard still shows a browser warning or a self-signed certificate, the documented fixes are to put a trusted certificate on the dashboard using the Let's Encrypt method or to front it with NGINX, and the choice depends on whether the dashboard is reachable from the public internet. For a private network where users already have an internal root certificate, an internal CA is often the better choice, because it avoids public hostnames and certificate renewal traffic that the network does not need.
The Wazuh user manual has a section on configuring third-party SSL certificates for the dashboard, and it covers both Let's Encrypt and NGINX. Four components are involved: the Wazuh indexer stores alerts, the Wazuh server analyzes agent data, the Wazuh dashboard is the web interface users reach through the browser, and agents run on endpoints. Certificate work touches the dashboard and the way it presents itself to users, while the indexer, server and agent trust relationships are separate concerns that a dashboard change should not break. Read the current user manual page for your release before you edit any file, because configuration keys and file paths can change between releases.
Start by confirming three things: whether the dashboard hostname resolves publicly, whether your security team accepts public certificate authorities for an internal monitoring console, and who will renew the certificate and how. Let's Encrypt requires the dashboard to be reachable for domain validation, which is a direct exposure decision you should make deliberately. If the answer is no, plan the internal CA path instead, and treat the dashboard certificate as part of the same renewal process you use for the other Wazuh certificates.
Choosing between Let's Encrypt, NGINX and an internal CA
This table compares the documented Let's Encrypt method, the NGINX method and an internal CA for the Wazuh dashboard certificate. Read each row against your network layout and trust model, and use the questions in the final rows to settle the choice with your network and security teams before work starts.
| Decision point | Let's Encrypt | NGINX in front of the dashboard | Internal CA |
|---|---|---|---|
| Reachability from the public internet | Usually needs the dashboard hostname to be reachable from the internet for validation, so confirm your validation method before choosing it | Works wherever the proxy is placed, but the proxy becomes the exposed entry point and must be hardened | No public reachability needed; the dashboard can stay on a private address |
| Who trusts the certificate | Public browsers and operating systems that trust the Let's Encrypt root, so analysts need no extra trust setup | Depends on the certificate loaded into NGINX, which may be public or internal | Only clients and endpoints that have your internal root installed |
| Renewal ownership | Automated renewal is possible but someone must own the renewal job and its failure alerts | Renewal follows the certificate source, so the proxy team and the Wazuh team must agree who replaces files and restarts services | The PKI team typically owns issuance and renewal under its own policy |
| Fit for air-gapped or offline sites | Poor fit, because issuance depends on reaching external services | Fits if the certificate comes from an internal CA or a manually managed file | Strong fit, since it needs no internet access |
| Typical fit | Internet-reachable dashboard hostname with a public DNS name and an owned renewal process | Existing reverse proxy standard that terminates TLS for internal web services | Regulated or internal environments with an established PKI and no public exposure |
| Question to settle with network and security teams | Is the dashboard allowed to be reachable from outside, and who approves that exposure? | Where will TLS terminate, and does the proxy meet your hardening baseline? | Does an internal CA exist, and will endpoints and browsers trust its root? |
| Question to settle with network and security teams | Who will monitor renewal failures and respond when a renewal breaks? | Who owns certificate files, reloads and expiry alerts on the proxy? | What is the renewal period and who approves issuance requests? |
How to configure Let's Encrypt on the Wazuh dashboard
This sequence takes a Wazuh dashboard from its default certificate to a publicly trusted Let's Encrypt certificate, with a check at each step so the change can be rolled back if something fails.
Confirm DNS and inbound reachability
The engineer responsible for the dashboard host confirms that the dashboard hostname resolves to the address the server actually listens on, and that the validation method the team chose is reachable from the public internet. For the HTTP-01 challenge, port 80 must reach the host. For DNS-based validation, the team must be able to create the required DNS record. Confirm the exact validation requirements in the Let's Encrypt documentation and the Wazuh user manual for the installed version. Done means a lookup from outside your network returns the expected address and a test request to the validation path gets through the firewall.
Check the installed dashboard version
Record the exact Wazuh version and the release line of every central component, including the dashboard, indexer and server. Compare it with the release notes for the 4.14 line before following any procedure, because file paths, service names and commands in the Wazuh user manual are version specific. Keep a copy of the current dashboard configuration file and a snapshot or backup of the host before changing anything. Done means you have a written record of the versions, the configuration backup exists and you have opened the user manual section for that exact version.
Obtain and install the certificate
The engineer requests the certificate with the Let's Encrypt client named in the Wazuh user manual for the installed version, using the validation method confirmed earlier. Store the certificate chain and private key in the directory the Wazuh documentation specifies, and set file ownership and permissions so only the dashboard service account and administrators can read the private key. Confirm the exact file paths and commands in the Wazuh user manual for your version before running them. Done means the files exist, the key is not readable by other users, and the certificate's subject name matches the dashboard hostname.
Point the dashboard configuration at the certificate
Edit the dashboard configuration file to reference the new certificate and private key paths, using the configuration keys named in the Wazuh user manual for the installed version. Change only the TLS-related settings and leave the rest of the file as it was. If you use an NGINX reverse proxy in front of the dashboard, update the proxy's certificate directives at the same time so the two layers present the same chain. Done means the configuration file parses without errors and the changed keys point to the files verified in the previous step.
Restart the dashboard and check the service
Restart the Wazuh dashboard service with the service manager on the host, then check its status and the logs for certificate or key load errors. If NGINX fronts the dashboard, validate its configuration with the syntax check before reloading it. Confirm that the dashboard port answers locally. If the service fails to start, restore the configuration backup from the second step and restart again to return to the previous working state. Done means the service reports as running, the logs show no TLS errors and the local request succeeds.
Verify the chain in a browser
Open the dashboard hostname in a current browser from a machine outside the server, and inspect the certificate details. Confirm that the issuer is the expected Let's Encrypt intermediate, that the subject and subject alternative names match the hostname, and that the expiry date is in the future. Also confirm that the browser shows no mixed content or trust warnings when the login page loads. Done means the browser trusts the connection without an exception and the certificate details match the ones issued.
Verify the chain with a TLS client
From a separate host, run a TLS client such as openssl s_client against the dashboard hostname and port, and check that the full chain is presented, that the verification result reports success and that the protocol and cipher are those your policy allows. Record the output and the certificate's expiry date in your change record, and schedule a renewal check ahead of expiry. Confirm the renewal method for your version in the Wazuh user manual. Done means the client returns a verified chain and the renewal check is on your calendar.
How an NGINX reverse proxy changes the TLS design
With an NGINX front end, the browser talks to NGINX over TLS and NGINX talks to the Wazuh dashboard on its own listener. The certificate users see belongs to NGINX, so it is the one you replace with a publicly trusted or internal CA certificate. The dashboard keeps its internal certificate and listener, and that internal trust still has to work. Before you change anything, write down which hostname users will type, which certificate NGINX presents, and whether NGINX validates the dashboard's internal certificate or skips verification. Skipping verification is a shortcut that should be a conscious, documented decision, not a default you inherit from a sample file.
The configuration itself must come from the Wazuh user manual's NGINX method, which covers the dashboard setup for this pattern. Do not improvise proxy blocks from generic forum examples, because the dashboard expects particular headers, paths and connection behavior, and a mismatch tends to show up as broken logins or missing data rather than a clear error. Confirm the exact steps for your release line, and check that the NGINX version in your environment supports the directives the documentation uses. Ask whether the documented method assumes a specific NGINX package or layout, and plan for that in your host build.
Four things need explicit checks after the proxy is in place. First, forwarded headers: confirm the dashboard logs and any access rules see the correct client address and scheme, and that only your NGINX host can set those headers. Second, WebSocket or long-lived connections: the dashboard uses persistent connections for live updates, so verify that the upgrade headers and timeouts pass through and that sessions do not drop unexpectedly. Third, the dashboard's internal certificate trust, as described above. Fourth, the dashboard port itself: after the proxy works, restrict direct access to that port so users and scanners cannot bypass NGINX and its TLS settings. Record the result of each check in your change ticket.
Security risks to close when the dashboard gets a trusted certificate
Adding a trusted certificate changes who can reach the dashboard, how it negotiates encryption and who can read the private key. Each risk below is easy to miss because the login page still appears to work, so each card ends with a check you can run before handing the dashboard to users.
Private key readable by other users
The private key for the dashboard certificate proves the server's identity. If other local users or service accounts can read it, anyone on the host can impersonate the dashboard or decrypt captured traffic. Check that the key file is owned by the account that runs NGINX or the dashboard service and that group and other permissions are removed. Confirm the key is not copied into shared configuration directories or backup locations with wider access.
Dashboard exposed after adding a certificate
A trusted certificate often arrives with a proxy that listens on public interfaces, which can expose the dashboard to the internet when the team only intended to secure it. Confirm which addresses and ports NGINX listens on and that the dashboard port is reachable only from the networks your analysts use. Verify from outside your network that the login page does not respond, and review any firewall or cloud security group rules that allow inbound traffic.
Weak protocol and cipher defaults
NGINX defaults depend on the distribution and package version, so a copied configuration may allow older protocol versions or weak cipher suites. Set the ssl_protocols and ssl_ciphers directives explicitly and confirm the chosen values against your organization's cryptographic baseline. Scan the dashboard endpoint with a TLS testing tool after each change and record the result as evidence for the change.
Certificate and key file permissions
Certificate files are public, but the key file and the directory holding it are not. Permissions that look correct at setup can drift after a package update, a restore from backup or a manual copy with the wrong owner. Check that the ssl_certificate_key path points to a file readable only by the service account and that the directory permissions do not allow listing by other users. Repeat the check after every package upgrade.
Renewal failures that break logins
Let's Encrypt certificates expire on a short cycle, so renewal depends on a scheduled job that must succeed every time. A failed renewal can leave an expired certificate in place, and browsers will refuse the dashboard even though the service is running. Confirm the renewal job runs, that NGINX reloads after renewal, and that an alert fires when the certificate is close to expiry. Test the reload path before relying on it.
Trust boundary to the indexer and server
The proxy terminates TLS for browsers, but the dashboard still connects to the Wazuh indexer and server over their own certificates. Treating the proxy as the only protected hop leaves those connections governed by separate settings that may still use self-signed material. Map each connection, confirm which certificate each side verifies and restrict the network paths between the proxy, dashboard, indexer and server to the ones the design needs.
How browser, NGINX, dashboard and internal services exchange TLS
The request starts in the analyst browser, which validates the certificate that NGINX presents on the user-facing hop. NGINX terminates that TLS session and forwards requests to the Wazuh dashboard, which is the only component the browser reaches. The dashboard then calls the Wazuh server API and the Wazuh indexer, and each of those hops uses its own certificate chain. The trust boundary sits between the user network and the Wazuh components, so check that the dashboard trusts the CA behind each internal certificate and that the internal ports stay closed to users.
Certificates used on each hop from browser to Wazuh internal services.
Limits to confirm in your environment before you change certificates
Changing the dashboard certificate touches more than one file and one service. The checks below separate what the documented methods assume from what your network, release and certificate plan actually allow. Confirm each item before you schedule the change window.
Fit of the Let's Encrypt method
The documented Let's Encrypt method depends on your dashboard being reachable on a public DNS name that you control. Confirm that the hostname resolves to the dashboard, that the validation method the certificate client uses can reach the dashboard over the network path you have, and that your domain policy allows public certificates for that name. An internal-only hostname under a private domain usually does not fit this method, so plan for an internal CA instead.
Wazuh user manualRelease line and patch level
Confirm the exact Wazuh version running on every component before you follow a documented procedure. The current release line is 4.14, and patch releases arrive roughly every one to two months, so a guide written for one patch may differ slightly from the one you run. Record the version of the dashboard, server and indexer, and check the release notes for changes to certificate handling in your build.
Wazuh release notesRenewal reachability from the dashboard
Let's Encrypt certificates expire and must be renewed on a schedule. Confirm that the host running the renewal client can reach the certificate authority and complete validation at renewal time, not only at first issuance. Check outbound firewall rules, proxy settings and DNS resolution, and test a renewal in a dry run. A renewal that fails silently leaves the dashboard serving an expired certificate.
Support status of the chosen method
Confirm that the method you select is documented for your exact dashboard version and operating system. Documentation pages can change between releases, and a method that works on one platform may need different steps on another. Ask the vendor or check the current user manual for the version you run, and record the source you followed so that later upgrades can be tested against it.
Wazuh user manualSeparate server and indexer certificates
The dashboard certificate is separate from the certificates used by the Wazuh server API and the Wazuh indexer. Replacing the dashboard certificate does not change how agents verify the manager, and it does not change indexer trust. Map every certificate in your deployment, its owner, its validity period and the service that loads it, so a dashboard change does not break communication between components or leave a mismatched trust chain.
Air-gapped and public validation constraints
Public validation is not possible on networks with no internet access, and some regulated environments do not allow outbound calls to public certificate authorities. If your dashboard sits in an isolated segment, confirm early that a public method is allowed and that internal certificate issuance is available. Confirm also how Wazuh components receive updates in that segment, since an offline installation has its own documented steps.
Wazuh deployment optionsQuestions buyers ask about Wazuh dashboard TLS
What drives the effort of a Let's Encrypt, NGINX or internal CA rollout?
The effort depends mainly on how the dashboard is reached and who must trust its certificate. A Let's Encrypt rollout needs a public DNS name that resolves to the dashboard host and inbound access on the validation path, so the work is mostly DNS and network checks. An NGINX reverse proxy adds a second component to configure, certificate paths to set, and proxy headers and upstream settings to verify. An internal CA needs a certificate request process, distribution of the root to analyst workstations, and a renewal record. Confirm which hostnames users type, whether the dashboard is reachable from the internet at all, and how many browsers and devices must trust the chain before choosing.
What does the work need from our team, such as DNS, network and change control?
Expect to supply the following before any configuration starts:
- A fixed hostname for the dashboard and DNS records you control
- Firewall or load balancer rules for the ports the chosen method uses, confirmed against the Wazuh user manual
- A maintenance window and an approved change record, since the dashboard restarts during the change
- Access to the dashboard host and a named owner for certificate renewal
- Access to the browsers and endpoints that will need to trust an internal root, if you choose that path
Whether your change process needs a rollback plan and a test on a non-production instance should be confirmed with your change board.
Can our team do this alone using the Wazuh user manual?
Often yes, if you have a Linux administrator who can read NGINX configuration and a clear hostname plan. The Wazuh user manual documents configuring third-party certificates with Let's Encrypt and with NGINX, so the steps are written down. What the manual cannot do is tell you how your DNS, firewall and change process behave, or confirm that your existing certificate and renewal practices fit. Teams that already run NGINX and ACME clients usually need the least outside help. Teams without that experience, or with strict change control, often pay a partner for the environment checks and the first clean run.
How long will the rollout take for our environment?
No general duration applies, because the time depends on what has to be confirmed in your environment. The main variables are how quickly DNS changes are approved, whether firewall rules need a review cycle, how many dashboard hosts or distributed deployments are involved, and whether an internal CA must issue and distribute a root. Ask for a timeline that lists each dependency with its owner, and ask which items can start in parallel. A written scope lets both sides agree the schedule before work begins.
Who owns certificate renewal after the work is finished?
Your organization owns renewal, and the owner should be named in writing before go-live. With Let's Encrypt, certificates are short-lived, so the renewal job, its schedule and its failure alerts must work without someone remembering to run them. With an NGINX setup, the renewal hook must also reload NGINX after a new certificate is written. With an internal CA, renewal depends on your PKI process and the root distribution, which must be repeated for new certificates. Ask the partner to document the renewal test and the expiry monitoring you will keep.
What does a partner's scope usually include for dashboard TLS?
A fixed-scope engagement for this topic normally covers an environment review, a written choice of method, configuration of the dashboard and any proxy, validation of the trusted certificate in a browser, a tested renewal path, and a handover note. Scope should state which Wazuh deployment layout is in place, whether the indexer and API certificates are in scope, and whether the change is made in production or a staging copy first. Scope excludes anything not listed, such as broader certificate replacement across the indexer and API, which is covered by a separate topic. Ask for the scope, deliverables and acceptance checks in writing before you compare quotes.
What drives the cost of this work, and what should we ask for in a quote?
Cost follows the scope and the number of environments. The main drivers are the number of dashboard hosts, whether a reverse proxy is already in place, how much DNS and firewall work sits outside the Wazuh team, the internal CA setup if chosen, and the testing and handover expected. Most of the cost is one-time. Recurring costs are your internal renewal monitoring and any support retainer you choose. DeployOpen does not publish a price list, so ask for a quote that lists each deliverable, each dependency you must supply, and what happens if the environment review changes the method.
Which method is right for an internal dashboard that users reach only on the corporate network?
For a dashboard that is never exposed to the internet, Let's Encrypt's public validation may not fit, so an internal CA or a certificate from your existing PKI is usually the better path. Let's Encrypt needs the hostname to be publicly validated, which is a poor match for internal-only names. An internal CA keeps issuance inside your control and works with private hostnames, but every client must trust the root. Confirm with your security team how private names are handled in your PKI before deciding. The Wazuh user manual covers both certificate approaches, and your choice should follow your environment, not the tool you know best.
What DeployOpen confirms before changing dashboard TLS
Before any change to the dashboard certificate, DeployOpen writes down the current state of the deployment: the installed Wazuh version and component layout (indexer, server, dashboard and agents), whether the dashboard runs all-in-one or on its own host, and where the certificate files and the dashboard configuration currently live. The Wazuh release line in use matters because the documented steps for third-party certificates are tied to the installed version, so the scope confirms the exact patch level against the Wazuh release notes before anything is edited. The certificate method is chosen at this stage: Let's Encrypt with the documented steps, NGINX as a TLS terminating proxy in front of the dashboard, or a certificate issued by the client's internal certificate authority, which is usually the better fit for hosts that are not reachable from the public internet.
DeployOpen also confirms the network and DNS prerequisites in writing. For a public Let's Encrypt issuance, the dashboard hostname must resolve to the right address and the challenge path must be reachable from the Internet, which is a decision the client's network and security teams need to sign off on. For an internal CA, the client confirms the root and intermediate chain that browsers and agent-side tooling will trust, the certificate lifetime and the renewal owner. The scope states the rollback plan as well: a copy of the existing certificate and key, the dashboard configuration backup, a maintenance window agreed with the client, and the steps to restore the previous files if the dashboard does not start. Verification is defined in advance too, covering the served certificate chain, the hostname match, the dashboard login through the new address and the dashboard service status after restart.
DeployOpen does not act as a certificate authority and does not issue certificates. The issuer is either Let's Encrypt or the client's own certificate authority, and the client keeps the authority to approve the issuance, hold the private keys under its own controls and renew the certificate. DeployOpen's role is to plan and implement the change, document the result and hand over the renewal steps so the client's team can run them without a partner. Any quote follows from this written scope, and anything the client has not yet confirmed, such as the internal CA's policy or the public exposure of the host, is listed as an open item before work starts.

