Skip to main content

Certificate Template Management

This guide explains how to create and manage certificate templates on SecTrail CM. Certificate templates speed up and standardize the certificate creation process by predefining organization information, key algorithm, and other parameters.

About the Feature

By using templates, you can create certificates from ready-made templates instead of repeatedly entering the same information (Organization, OU, Country, etc.) each time. This saves time and ensures compliance with corporate standards.

What is a Template?​

A template is a predefined structure of certificate creation parameters. By using templates:

  • Fast certificate production: Just fill in Common Name and SAN fields, all other fields are automatically filled
  • Standardization: Ensure all certificates are created with the same organization information and security parameters
  • Error reduction: Prevent manual input errors
  • CA Integration: Work integrated with external CAs like ADCS, GlobalSign, DigiCert

Template List​

Access Path

For template management: Go to Inventory β†’ Template menu.

Template List

Template List and Operations

You can view and manage all your existing templates in the template list.

List Columns​

ColumnDescription
Template NameUnique name of the template (e.g., acme, adcs, csr)
CA TypeCertificate authority type (ACME, ADCS, CSR, DigiCert, GlobalSign, Hashicorp, LocalCA)
Domain NameDomain/organization domain the template is associated with
OrganizationOrganization name
E-mailContact email address
KeyKey algorithm (RSA, ECDSA)
ActionsAction buttons (Generate, Edit, Delete)

Template Operations​

You can perform three basic operations for each template:

1. Generate (Create Certificate)​

When you click the Generate button, the certificate creation screen opens with template parameters pre-filled. You only need to fill in Common Name and Subject Alternative Names (SAN) fields.

Generate Certificate from Template

Creating Certificate with Template

When creating certificate with template:

  1. Click the Generate button of the desired template from the template list
  2. Check auto-filled fields in the opened form:
    • CA Type, Organization, OU, Locality, State, Country
    • Key Algorithm, Key Length, Hash Function
    • Lifetime, E-mail Address
  3. Fill in Common Name field (e.g., test.sectrail.local)
  4. Add additional domains or IPs to Subject Alternative Names field (optional)
  5. Click Generate button
Time Savings

Using templates, you can create certificates instantly by filling in only 2 fields (Common Name and SAN). In normal certificate creation, you need to fill in 15+ fields.

2. Edit (Edit)​

Click the Edit button to edit existing template. You can update template parameters.

3. Delete (Delete)​

Click the Delete button to completely remove the template from the system.

Caution

When a template is deleted, certificates previously created with this template are not affected. Only this template cannot be used in future certificate creation operations.

Creating New Template​

Click the Create button to create a new certificate template.

Create New Template

New Template Creation Form

Template Parameters​

You can configure the following parameters when creating a template:

Basic Information​

FieldRequiredDescriptionExample
Nameβœ… RequiredUnique name of templateadcs, prod-ssl, dev-cert
CA Typeβœ… RequiredCertificate authority typeACME, ADCS, CSR, DigiCert, GlobalSign, Hashicorp, LocalCA
Organizationβšͺ OptionalOrganization namebntpro.com, Acme Corporation
Organizational Unitβšͺ OptionalDepartment or unitIT, Engineering, sectrail
Localityβšͺ OptionalCityIstanbul
Stateβšͺ OptionalState or provinceIstanbul
Countryβšͺ OptionalCountry code (2 characters)Turkey, TR (dropdown selection)

Contact and Security​

FieldDescriptionExample
E-mailEmail notification statusActive βœ… / Inactive βšͺ
E-mail AddressContact email addressemail@bntpro.com
LifetimeCertificate validity period (days)365 (1 year)

Cryptographic Settings​

FieldDescriptionRecommended Value
Key AlgorithmKey algorithmRSA (default), ECDSA
Key LengthKey length2048 bit (standard), 4096 bit (high security)
Hash FunctionHash algorithmsha256 (recommended)

Management and Integration​

FieldDescriptionOptions
ManagedWill it be a managed certificate?Yes / No
Key ImportWhere private key will be storedDatabase, Key, HSM, BeyondTrust
Managed (Managed) Certificates

If you set Managed option to "Yes", certificates created with this template will be automatically managed. SecTrail CM:

  • Tracks certificate expiry date
  • Performs automatic renewal (for protocols like ACME)
  • Sends alarms and notifications

For details: Managed Certificates

Notification Messages​

You can define customized notification messages in the template:

FieldDescription
Generate Text MessageSMS/text message content to be sent when certificate is created
Password LengthAutomatic password length to be generated (characters)
Ignored DomainBlock certificate creation for these domains (e.g., *.example.local)
Common Name Format MessageGuidance message to show user about Common Name format
Subject Alternative Names Format MessageGuidance message about SAN format

Integration Settings​

FieldDescriptionWhen to Use
Daily Request LimitMaximum daily certificate request countFor rate limiting
Enable ConfirmationGet confirmation before creating certificate?Checkbox (βœ… / ☐)

Template Types​

SecTrail CM supports various CA types for different use cases:

1. LocalCA Template​

Used for signing certificates with your own local Certificate Authority.

When to Use:

  • For internal network applications
  • When producing certificates compliant with corporate standards
  • Signing with Root/Intermediate CAs created in SecTrail CM

Example Configuration:

  • Name: localca
  • CA Type: LocalCA
  • Organization: secrusen
  • Key Algorithm: RSA
  • Key Length: 2048
  • Lifetime: 365 days

2. ADCS Template​

Creates certificates with Microsoft Active Directory Certificate Services integration.

When to Use:

  • In Windows environments
  • In enterprise PKI with Active Directory integration
  • When automatic domain verification is required

Example Configuration:

  • Name: adcs
  • CA Type: ADCS
  • Organization: bntpro
  • Domain Name: bntpro.local
  • Key Algorithm: RSA
  • Key Length: 2048

3. CSR Template​

Used to create Certificate Signing Request. Used when you want to get certificates from external CAs.

When to Use:

  • When getting certificates from external CAs (Let's Encrypt, DigiCert, etc.)
  • For public SSL/TLS certificates
  • When third-party verification is required

Example Configuration:

  • Name: csr
  • CA Type: CSR
  • Organization: sectrail

4. ACME Template​

Creates automatic certificates with ACME protocol (Let's Encrypt, ZeroSSL, etc.).

When to Use:

  • For free SSL certificates with Let's Encrypt
  • When you want automatic renewal
  • For public domains

Example Configuration:

  • Name: acme
  • CA Type: ACME
  • Organization: bntpro
  • Managed: Yes (for automatic renewal)
  • Lifetime: 90 days (Let's Encrypt standard)

5. DigiCert Template​

Creates certificates with DigiCert CertCentral API integration.

When to Use:

  • If you're a DigiCert customer
  • For OV (Organization Validated) or EV (Extended Validation) certificates
  • For enterprise SSL certificates

6. GlobalSign Template​

Creates certificates with GlobalSign HVCA (Managed PKI) integration.

When to Use:

  • If you have GlobalSign agreement
  • For high-volume certificate management
  • If you're using Managed PKI service

7. Hashicorp Vault Template​

Creates dynamic certificates with Hashicorp Vault PKI Secrets Engine.

When to Use:

  • In cloud-native environments
  • In Kubernetes, microservices architectures
  • For dynamic, short-lived certificates