Skip to content

Policies

Policies define governance rules that control how certificates are issued and deployed across your infrastructure. They enforce organizational cryptographic standards, trigger approval workflows, and prevent non-compliant operations.

Navigation: Sidebar → Governance → Policies

Policies


SSL-CLM v2 supports two policy types:

TypeControlsEvaluated During
Issuance PolicyCertificate creation rulesEnrollment, renewal, CSR submission
Deployment PolicyCertificate deployment rulesStore deployment operations

Both types support enabling/disabling, CA/store scoping, and approval workflow triggers.


Issuance policies control what certificates can be created and how.

FieldTypeDescription
NameTextPolicy display name
DescriptionTextPurpose description
EnabledToggleWhether the policy is active
CA ScopeMulti-selectLimit to specific CAs (empty = all CAs)
Min Key SizeNumberMinimum allowed key size in bits (e.g., 2048)
Max Validity DaysNumberMaximum certificate validity period (e.g., 365)
Max SAN CountNumberMaximum number of Subject Alternative Names (e.g., 10)
Renewal ThresholdNumberDays before expiry to trigger auto-renewal (e.g., 30)
Allowed Key AlgorithmsCheckboxesRSA, ECDSA, Ed25519 — at least one must be checked
Required SAN PatternsText (one per line)Regex patterns that SANs MUST match (e.g., .*\.example\.com$)
Forbidden SAN PatternsText (one per line)Regex patterns that SANs MUST NOT match (e.g., .*\.test\..*)
Require ApprovalToggleIf enabled, matching certificate requests go to Pending Approval
Approval RolesMulti-selectWhich roles can approve (if approval required)

When a certificate request is submitted:

  1. All enabled issuance policies are evaluated
  2. If the request’s CA matches a policy’s CA scope (or scope is empty/global):
    • Key algorithm is checked against allowedKeyAlgorithms
    • Key size is checked against minKeySize
    • Validity period is checked against maxValidityDays
    • SAN count is checked against maxSanCount
    • Each SAN is validated against requiredSanPatterns and forbiddenSanPatterns
  3. If any constraint fails → request is rejected with an error message
  4. If requireApproval is true → request enters Pending Approval status
  5. If all constraints pass and no approval required → certificate is issued

Example: Production Web Certificate Policy

Section titled “Example: Production Web Certificate Policy”
Name: Production Web Certificates
Enabled: Yes
CA Scope: [Production CA, Let's Encrypt]
Min Key Size: 2048
Max Validity Days: 397
Max SAN Count: 25
Allowed Key Algorithms: [RSA, ECDSA]
Required SAN Patterns: .*\.mycompany\.com$
Forbidden SAN Patterns: .*\.test\..* | .*\.local$
Renewal Threshold: 30 days
Require Approval: No

Example: High-Security Internal PKI Policy

Section titled “Example: High-Security Internal PKI Policy”
Name: Internal Services - Strict
Enabled: Yes
CA Scope: [Internal Smallstep CA]
Min Key Size: 4096
Max Validity Days: 90
Max SAN Count: 5
Allowed Key Algorithms: [ECDSA]
Required SAN Patterns: .*\.internal\.corp$
Forbidden SAN Patterns: (none)
Renewal Threshold: 14 days
Require Approval: Yes
Approval Roles: [PKI Manager, Security Reviewer]

Deployment policies control when and how certificates are pushed to stores.

FieldTypeDescription
NameTextPolicy display name
DescriptionTextPurpose description
EnabledToggleWhether the policy is active
Store ScopeMulti-selectLimit to specific stores (empty = all stores)
CA ScopeMulti-selectOnly apply to certs from specific CAs
SAN PatternsText (one per line)Only apply to certs matching these SAN patterns
Require ApprovalToggleManual approval before deployment
Approval RolesMulti-selectWhich roles can approve
Auto-BackupToggleBackup existing certificate before deployment
Auto-ValidateToggleRun validation checks after deployment
Max Concurrent DeploymentsNumberLimit simultaneous deployments (e.g., 5)
Allowed WindowsListTime windows when deployment is permitted

Maintenance windows restrict when deployments can occur:

FieldDescriptionExample
Day of WeekWhich dayMONDAY, TUESDAY, …, SUNDAY
Start TimeWindow start (24h)02:00
End TimeWindow end (24h)06:00

Multiple windows can be configured. If any window is active, deployment proceeds. If no window is active and windows are configured, deployment is blocked until the next window.

When a deployment is requested:

  1. All enabled deployment policies are evaluated
  2. If the target store or certificate CA matches scope:
    • Current time is checked against allowed windows
    • Concurrent deployment count is checked
    • If requireApproval is true → deployment queued for approval
  3. Before deployment:
    • If autoBackup → existing certificate is backed up
  4. After deployment:
    • If autoValidate → validation checks execute automatically
Name: Production Deployment Controls
Enabled: Yes
Store Scope: [Production NGINX, Production IIS]
Require Approval: Yes
Approval Roles: [Deploy Engineer, PKI Manager]
Auto-Backup: Yes
Auto-Validate: Yes
Max Concurrent Deployments: 3
Allowed Windows:
- WEDNESDAY 02:00–06:00
- SATURDAY 00:00–08:00

  1. Navigate to Governance → Policies
  2. Click + New Policy
  3. Select policy type:
    • Issuance — controls certificate creation
    • Deployment — controls store deployment
  4. Fill in the form fields appropriate to the selected type
  5. Set scope (CAs, stores, or leave empty for global)
  6. Configure approval workflow if needed
  7. Enable the policy
  8. Click Save

The Policies page displays all policies (both types) in a unified table:

ColumnDescription
NamePolicy name
TypeIssuance or Deployment (color-coded badge)
EnabledToggle switch — can enable/disable inline
ScopeCA or Store names (or “Global”)
ApprovalWhether approval is required
ActionsEdit, Delete

When a policy triggers approval:

  1. The certificate request or deployment enters Pending Approval status
  2. Users with the specified approval roles see the request in their queue
  3. The approver can:
    • Approve — Operation proceeds
    • Reject — Operation is cancelled with reason
  4. All approval/rejection decisions are logged in the Audit Trail

Certificate requests pending approval are visible in the Certificates page with a “Pending Approval” status filter.


The renewDaysBefore (renewal threshold) field on issuance policies controls automatic renewal:

  • When a managed certificate enters the renewal window (e.g., 30 days before expiry):
    • The scheduler creates a renewal job
    • The certificate is re-issued from the same CA with the same parameters
    • If the policy requires approval, the renewal also requires approval
    • After issuance, auto-deploy targets are re-deployed

Multiple policies can apply to the same certificate — the most restrictive threshold wins.


When multiple policies apply:

  • Constraints are cumulative — All applicable constraints must be satisfied
  • Most restrictive wins — If one policy allows RSA+ECDSA and another allows only ECDSA, only ECDSA is permitted
  • Any approval requirement triggers approval — If any matching policy requires approval, approval is required