Treat .onion certificates as identity assets with ownership, validation, and renewal controls. The issuing process should confirm who is authorised to bind the onion name to the organisation, and renewal should be tracked alongside service change management so trust does not outlive accountability.
Why This Matters for Security Teams
TLS for .onion services is not just a transport detail. It is part of the service’s trust boundary, because the certificate binds an organisation-controlled service endpoint to a specific onion name and operational owner. If that binding is unclear, teams can end up with a service that is technically reachable but no longer clearly accountable. That creates audit gaps, renewal risk, and change-management blind spots, which are common failure modes in NHI programmes. NHI Mgmt Group’s lifecycle guidance and NIST Cybersecurity Framework 2.0 both point to the same operational principle: identity assets need ownership, review, and revocation, not just issuance. For .onion services, that means the certificate cannot be treated as a one-time setup item. It must be governed alongside the service itself, with clear control over who can request, approve, and renew it. In practice, many security teams encounter expired or misbound certificates only after an onion service change has already broken trust or exposed an ownership dispute.How It Works in Practice
A workable model starts by treating the onion name, the certificate, and the service deployment as linked identity assets. Ownership should be explicit, ideally mapped to a service owner and an operational approver who can confirm the organisation is authorised to bind the onion name. That reduces the risk of shadow renewals, orphaned services, or certificates that outlive the team responsible for them. Most teams need three controls in parallel:- Inventory: track every .onion service, its certificate, issuer, expiry, and owner in a system of record.
- Validation: require approval that the onion service still belongs to the organisation and the current application environment before renewal.
- Renewal: align certificate refresh with service change management so a rename, migration, or decommission event triggers review.
Common Variations and Edge Cases
Tighter certificate governance often increases administrative overhead, so organisations have to balance auditability against the speed of service change. That tradeoff is especially visible with .onion services because operational teams may rotate infrastructure more often than security teams rotate identity records. Current guidance suggests keeping the certificate lifecycle short and explicit, but there is no universal standard for how often to renew beyond the service’s risk profile and operational cadence. A few edge cases matter:- If a .onion service is temporary, define a shorter approval window and a clear decommission date so the certificate does not become a lingering trust artifact.
- If multiple teams operate one onion service, use a named owner and a single renewal authority; shared responsibility without a single approver usually becomes no responsibility.
- If the service is part of a sensitive workflow, treat renewal as a change event and include rollback planning, because certificate changes can break reachability even when the application itself is unchanged.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Covers ownership and lifecycle control for non-human identities and their certificates. |
| NIST CSF 2.0 | PR.AC-1 | Identity and credential governance applies to certificate issuance and renewal approvals. |
| CSA MAESTRO | IAM-04 | Agent and workload identity governance informs short-lived, auditable certificate handling. |
Treat onion certificates as workload identities with traceable issuance, rotation, and decommission controls.
Related resources from NHI Mgmt Group
- How should security teams govern cryptographic keys and certificates across human and machine identities?
- How should security teams govern certificate trust for high-traffic services?
- How should security teams govern non-human identities at scale?
- How should security teams govern non-human identities for compliance?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org