Skip to main content

Overview

This document outlines the steps necessary to integrate the platform with OTPKI, so that certificates can be issued, renewed, revoked, and registered in OTPKI through the platform.

OTPKI (OmniTrust PKI) is a cloud-native PKI service for operating certification authorities and managing the certificate lifecycle through an API-first interface.

OTPKI Connector

The OTPKI Connector is the Connector that the platform uses to talk to OTPKI. It implements the Authority Provider v3 interface and supports the following operations:

OperationDescription
IssueCreates an end entity in OTPKI, enrolls it, and returns the issued certificate
RenewEnrolls a new certificate request for an end entity that already exists in OTPKI
RevokeRevokes an issued certificate with the selected revocation reason
RegisterPre-registers an identity in OTPKI before a certificate request exists
IdentifyMatches an existing certificate against OTPKI by its serial number
CA certificates and CRLsDownloads the certificate chain and the latest CRL of the selected certification authority

The connector authenticates to OTPKI with an OAuth 2.0 access token obtained through the client credentials grant. OTPKI validates that token against the identity provider that issued it, and resolves it to an OTPKI user whose roles determine what the connector is allowed to do.

Diagram

Prerequisites

Before you start, make sure that:

  • OTPKI is installed, running, and reachable from the OTPKI Connector. Installing and operating OTPKI is out of scope of this document, refer to the OTPKI documentation.
  • An OIDC identity provider is registered in OTPKI and can issue client credentials tokens. See Identity Providers.
  • The OTPKI Connector is deployed and registered in the platform. Deploying the connector is out of scope of this document, see Register Connectors for registering it.
  • A Vault Profile is available in the platform to store the OAuth client credentials.

Integration

Configuration in OTPKI

The following steps are required in OTPKI before the integration can be configured in the platform:

#ReferenceShort description
1Create Role and PermissionsCreate the role for the connector and grant it the permissions it needs
2Create OAuth ClientCreate the OAuth client the connector authenticates with
3Configure CA and ProfilesPrepare the certification authority and the profiles used for issuance

Configuration in the platform

The following steps are required in the platform to connect the prepared OTPKI:

#ReferenceShort description
4Create AuthorityStore the OAuth client credentials and connect OTPKI as an Authority
5Create RA ProfileSelect the OTPKI profiles and configure how end entities are named

When both sides are configured, Test Integration confirms that the certificate lifecycle works end to end. Troubleshooting lists the problems most commonly seen during the setup.