Skip to content
Documentation / Email Notifications

Notifications & Alert Routing

Smart Mail · Operational Alerting

SSLNexus can send operational alerts through Google Workspace, Microsoft 365 or a traditional SMTP relay so certificate failures and approaching deadlines do not depend on someone watching the dashboard.

Choose A Mail Provider

  1. Sign in as an Administrator and open Notifications.
  2. Enable email notifications and choose a provider.
  3. Enter one or more comma-separated recipients.
  4. Complete the provider-specific settings, save the configuration and allow SSLNexus to restart.
  5. Return to Notifications and use Send test email.
ProviderUse
Google Workspace · OAuthGmail API with OAuth 2.0 service-account delegation.
Microsoft 365 · OAuthMicrosoft Graph with Entra application credentials and Mail.Send.
Google Gmail · SMTPPreconfigures smtp.gmail.com:587 with STARTTLS for an account using an App Password.
Microsoft 365 · SMTP AUTHPreconfigures smtp.office365.com:587 with STARTTLS where SMTP AUTH is still enabled.
Custom / internal SMTP relayExisting host, port, TLS and optional username/password workflow for organisation relays and other SMTP servers.

Google Workspace OAuth Setup

  1. Create a Google Cloud service account and enable the Gmail API.
  2. Enable domain-wide delegation for the service account.
  3. In Google Workspace Admin, authorize its client ID for https://www.googleapis.com/auth/gmail.send.
  4. Choose Google Workspace · OAuth in SSLNexus.
  5. Load the downloaded service-account JSON and enter the delegated sender mailbox.
  6. Save and send a test email.
SSLNexus stores the Google private key separately with restricted permissions and creates short-lived OAuth access tokens automatically. It does not require a manually managed refresh token.

Microsoft 365 OAuth Setup

  1. Register an application in Microsoft Entra ID.
  2. Add Microsoft Graph → Application → Mail.Send and grant administrator consent.
  3. Create a client secret.
  4. Choose Microsoft 365 · OAuth in SSLNexus and enter the Tenant ID, Client ID, Client Secret and sender mailbox.
  5. Save and send a test email.
Where appropriate, use Microsoft 365 application-access controls to restrict the Entra application to the intended sender mailbox.

SMTP And Custom Relay

Google SMTP uses an App Password rather than the normal account password. Microsoft SMTP only works where SMTP AUTH remains enabled for the mailbox or tenant. Custom SMTP keeps the existing STARTTLS, implicit TLS or trusted-relay options.

Notification Events

Certificate validity notices. Enable expiry notifications to receive advance notice when a confirmed change affects managed renewal policies in your estate. The message includes the effective date, official source, affected count and available recovery projection. SSLNexus sends material corrections and withdrawals to previously notified estates. Proposed announcements and uncertain matches are available in Overview → Certificate validity notices.

Under Advanced Alert Routing, validity notices follow your expiry routes. To give them a separate route, choose certificate.validity_advisory at informational severity. Choose immediate, hourly or daily delivery. Email is addressed to active estate administrators and their authorised MSP administrators. Add estate:<organisation ID> to shared-channel routes.

The Client Server includes a local catalogue. For daily signed updates, install your publisher’s PEM Ed25519 public key at /etc/ssl-nexus/advisory-signing.pub and restart ssl-nexus.service. To use a mirror, set validity_advisories.url in /etc/ssl-nexus/config.json to its HTTPS address. For disconnected use, set validity_advisories.offline to true, restart the service and choose Import signed catalogue in the home estate’s Overview. The review date and update mode are visible alongside the notices. An expired catalogue pauses alerts until a current signed update is accepted.

EventBehaviour
Certificate expiryWarnings at 30, 14, 7, 1 and 0 days before expiry.
Certificate operation failureIssuance, renewal, CSR preparation and deployment failures.
Target health failureRaised when a registered target changes to a failed SSH or WinRM management-channel health state.
Vendor operation failureRaised when vendor certificate issuance, renewal or certificate handoff requires administrator attention.
LicenceExpiry warnings and failures contacting the licensing service.

De-Duplication

SSLNexus records notification delivery state so the same event is not emailed every scheduler cycle. A failed delivery is not marked as delivered and can be retried later. Changing the mail provider does not reset event delivery history.

Target-Health Monitoring

SSLNexus checks registered deployment targets every five minutes through their configured SSH or WinRM management channel. A notification is sent when a target changes into a failed health state. Certificate-operation failures continue to generate their own job-failure notifications.

Access Control

Only Administrators can view or change mail-provider and notification configuration. Operators and Read-only users do not receive access to provider credentials or notification settings.

Advanced Alert Routing And Delivery Evidence

Use Advanced Alert Routing to choose alert channels, event routes and digest settings. Configure the channel credentials, save the route, and use its diagnostic or test action before relying on delivery. Avoid duplicate notifications by reviewing digest and event-routing settings together.

Review Email Templates for message content and Notification Delivery Log for actual transport outcomes. An enabled route is configuration, not evidence that a recipient received a message. Check failed deliveries and retry or repair the channel as needed.

Host-Maintenance Alerts

Scheduled host updates require successful 30-minute and 10-minute notices before patching. Completion is sent after patching, any required reboot and verification. Configure Mail Delivery on your SSLNexus server before enabling the schedule.

Optional independent recovery monitoring sends an email if your server has not confirmed recovery within one hour, followed by an email when it recovers. For a linked Client Area organisation, these alerts go to every active team member with a verified email address.

Keep your Client Area team list current. Owners can open Team → Remove user to remove former colleagues and stop future recovery alerts to their addresses. See Keep your team email list up to date for the steps and the effect on account access.

Slack, Microsoft Teams And Discord

Configure chat channels in Notifications → Alert Channels & Diagnostics. Chat delivery is independent of email configuration. Create a webhook in the destination service, paste its URL into the channel secret field, enable the channel and save. Use Send Test Alert and check the destination and delivery log before relying on it.

For Microsoft Teams, create a Workflow that accepts an Adaptive Card webhook and authorizes requests using its secret URL. Add a co-owner so the workflow can continue when its original owner leaves. Workflows requiring an OAuth bearer token are not supported by this adapter. Use a Discord incoming webhook or a Slack incoming webhook for those services.

The saved secret is not returned to the browser. Leave its input blank to retain it. Alerts can contain hostnames, target names and operational details, so choose an appropriately restricted channel. Discord mentions are disabled; long messages are shortened. Full diagnostics remain in SSLNexus.

Certificate Lifecycle Routing

Add an enabled route, select minimum severity Info, and enter the destination channel IDs, for example slack, teams, discord. Use immediate delivery for alerts that need attention now.

EventWhen it is sent
certificate.issuedThe issuance workflow completed successfully.
certificate.renewedThe renewal workflow completed successfully.
certificate.deployedAn existing certificate was deployed. This does not imply new CA issuance.
job.failedAn issuance, renewal or deployment operation failed.
certificate.expiryA configured expiry-warning threshold was reached.

Existing failure and expiry event switches continue to apply. Inspect delivery failures and retain independent expiry monitoring: ordinary event delivery is best-effort, and provider acceptance is not proof that an administrator read the message.

Maintenance Notices

Route maintenance.scheduled, maintenance.starting, maintenance.completed, maintenance.failed, maintenance.cancelled and maintenance.reboot_required to your chosen channels. Use minimum severity Info and Immediate delivery.

Maintenance needs at least one enabled immediate destination to accept its pre-maintenance notice. A queued digest or disabled channel does not satisfy that check. If no maintenance route matches, configured email remains the fallback. Failed destinations remain visible in the delivery log even when another accepts the notice. Teams can accept a webhook before its workflow posts a message; review the workflow history if an accepted alert does not appear.