The self-hosted deployment runs entirely within your network. The managed cloud runs in the US or EU region you choose; the third parties it uses are listed under Sub-processors.
Security highlights
Hash-chained audit trail
Every action is recorded in an append-only log where each record’s SHA-256 hash covers the record content plus the previous hash — retroactive tampering is detectable on demand.
Policy before issuance
No certificate is issued without satisfying the Domain Trust Profile: required approvers, self-approval prevention, wildcard restrictions, max validity, and mandatory reason.
Org-level isolation
Each organization sees only its own DTPs, certificates, approvals, and audit records. There is no cross-org data leakage by design.
MFA + SSO
TOTP-based MFA and SSO via any OIDC provider (Azure AD, Google Workspace, Okta, Keycloak). Both can be enforced at the org level.
Keys where you want them
Keep private keys in your cluster, on your servers or in your Azure Key Vault. Keys CertGov does hold are encrypted with AES-256-GCM.
TLS 1.2+ in transit
All communication uses TLS 1.2 or higher. mTLS is available for API clients that require mutual authentication.
Where your data and keys live
CertGov governs certificates; it doesn’t need to hold their private keys. You choose where keys live, per trust profile:
Regions. Each organization in the managed cloud is pinned to one region, US or EU. Certificates, keys and audit data stay in that region, and the EU region has its own database with no replication to the US. Traffic to both regions passes through Cloudflare’s network, which terminates TLS.
Authentication & sessions
CertGov supports two authentication paths: Local accounts- Password-based login with TOTP multi-factor authentication
- Sessions use HttpOnly, Secure, SameSite=Lax cookies
- Sessions are invalidated immediately on password change
- Supports any standards-compliant OIDC provider: Azure AD, Google Workspace, Okta, Keycloak, and others
- JWTs validated against the provider’s JWKS endpoint on each session
- SSO can be enforced org-wide — local password login is disabled for SSO-enrolled users
- See SSO setup guide for configuration details
Authorization
CertGov uses role-based access control. Each user has one role in each organization:
CertGov staff have separate platform roles, sign in through CertGov’s own single sign-on, and are not members of your organization.
Org isolation — users belong to one or more organizations. Each org’s DTPs, certificates, approvals, and audit records are fully isolated. An org admin cannot see or affect another org’s data.
Per-DTP controls — each Domain Trust Profile enforces its own policy:
- Minimum number of required approvers
- Self-approval prevention (the requester cannot be an approver)
- Mandatory reason field on every request
- Auto-void TTL (pending requests expire automatically after a configured period)
- Wildcard restrictions and maximum certificate validity
Audit trail
The audit trail is CertGov’s primary accountability mechanism. What is recorded Every action generates an audit record:- Certificate request, approval, denial, revocation, download
- Configuration changes (DTP create/update/delete, org settings, user role changes)
- Login, failed login, logout
- API token create/revoke
- Compliance framework assignments
- The record’s own content (action, actor, timestamp, metadata)
- The SHA-256 hash of the immediately preceding record
Encryption
Certificate issuance security
CertGov enforces policy at issuance time — the CA is not contacted until all policy requirements are met.- No bypass path. Certificate issuance — including via ACME and the cert-manager external issuer — runs through the same DTP policy engine. There is no way to issue a certificate that bypasses approval requirements.
- Private keys. For certificates where CertGov generates the key pair, the private key is stored encrypted and only sent over TLS. To keep keys out of CertGov entirely, see Where your data and keys live.
- ACME. CertGov acts as the ACME client on behalf of the requester. The requester’s ACME credentials are scoped to domains defined in the DTP.
- Max validity enforcement. DTPs can enforce a maximum certificate validity, including the 47-day maximum required by upcoming CA/Browser Forum requirements.
- Wildcard restrictions. DTPs can prohibit wildcard certificates entirely, regardless of what the CA would permit.
Infrastructure (self-hosted)
When running self-hosted, the security posture of the deployment is your responsibility. Recommended baseline:- Run CertGov as a non-root system user (
certgov) - Place a TLS-terminating reverse proxy (nginx, Caddy, Traefik) in front of the binary
- Restrict database access to localhost or a private network
- Enable audit log forwarding to a SIEM so the audit trail is preserved off-host
- Follow the backup and restore guide to ensure audit records survive host failure
Sub-processors (managed cloud)
A self-hosted deployment uses none of these unless you configure them.
Compliance posture
Responsible disclosure
CertGov takes security vulnerabilities seriously. If you discover a security issue, please report it privately before public disclosure. Contact: security@certgov.app What to include in your report:- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Your contact information (for follow-up and credit)
- Acknowledge receipt within 24 hours
- Resolve critical vulnerabilities within 7 days
- Resolve non-critical vulnerabilities within 30 days
- Keep you informed of progress throughout
- Credit you in release notes if you wish
- Not pursue legal action against good-faith security researchers