NautheraServerCertificateExpiringSoon
Docs version v1 (main)Nauthera is pre-1.0, in a design-partner program
A certificate a nauthera-server listener serves expires within seven days.
Meaning
nauthera_ for a listener (http for the
in-pod HTTPS listener, grpc for the AdminService) is less than the threshold (7 days)
away, for an hour. The http certificate is read only at startup, so a certificate
cert-manager renewed is not served until the pods restart. The grpc certificate is the
one last taken into use at a handshake, which reads the files at most every 30 seconds:
the file was not renewed, it was renewed but could not be loaded
(grpc_tls_reload_failed in the log), or no client has connected since. A certificate
the ingress serves is not measured here.
Impact
Nothing yet. If it expires: for http, every browser and relying party connecting
directly to the pods fails TLS, so sign-in and token requests stop. For grpc, the
operator and nauthera-cli cannot connect; clients already registered keep working.
Diagnosis
- Which listener and replicas:
(nauthera_.tls_ certificate_ expiration_ timestamp_ seconds\{ job="<name>"\} - time()) / 86400 - Has cert-manager renewed it?
kubectl -n <ns> get certificatesandkubectl -n <ns> describe certificate <certificate>(Ready condition, renewal time, events). The chart renews both 15 days before expiry by default (certManager.,httpTLS. renewBefore certManager.).grpcTLS. renewBefore - What the Secret holds now:
kubectl -n <ns> get secret <secret> -o jsonpath='\{..data. tls\. crt\}' | base64 -d | openssl x509 -noout -enddate - For
grpc:kubectl -n <ns> logs <pod> | jq 'select(..msg=="grpc_ tls_ reload_ failed" or . msg=="grpc_ tls_ reloaded")'
Mitigation
http, Secret already renewed: restart the pods,kubectl -n <ns> rollout restart deploy/, or run a reloader that restarts them when the Secret changes.<name> - Not renewed: fix the cert-manager Certificate or issuer (its events say why), then
restart for
http. grpc, renewed but not loaded: fix whatgrpc_tls_reload_failednames (a key that does not match, a CA file without certificates); a handshake within 30 seconds loads it.grpc, renewed and no client since: the metric updates at the next connection.
Escalation
Escalate to the identity platform owner if it is not renewed within two days, and to the cert-manager owner if issuance fails. See Certificates.
Alert runbooks · Generated from internal/ and operator/ in nauthera-server.