Configuring certificate authority with openssl

From oyi77/1ai-skills · View interactive version

Configuring certificate authority with openssl is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when a Certificate Authority (CA) is the trust anchor in a PKI hierarchy, responsible for issuing, signing, and revoking digital certificates. This skill covers building a two-tier CA hierarchy (Root CA +

How to use this skill

Skill file

Configuring Certificate Authority with OpenSSL

Overview

A Certificate Authority (CA) is the trust anchor in a PKI hierarchy, responsible for issuing, signing, and revoking digital certificates. This skill covers building a two-tier CA hierarchy (Root CA + Intermediate CA) using OpenSSL and the Python cryptography library, including CRL distribution, OCSP responder configuration, and certificate policy management.

When to Use

Trigger phrases:

Prerequisites

Objectives

Key Concepts

This section covers key concepts for configuring certificate authority with openssl.

CA Hierarchy

Root CA (offline, air-gapped)
  |
  +-- Intermediate CA (online, operational)
        |
        +-- Server Certificates
        +-- Client Certificates
        +-- Code Signing Certificates

Certificate Extensions

| Extension | Purpose | Critical |

|-----------|---------|----------|

| basicConstraints | CA:TRUE/FALSE, pathLenConstraint | Yes |

| keyUsage | keyCertSign, cRLSign, digitalSignature | Yes |

| extendedKeyUsage | serverAuth, clientAuth, codeSigning | No |

| subjectKeyIdentifier | Hash of public key | No |

| authorityKeyIdentifier | Issuer's key identifier | No |

| crlDistributionPoints | URL to CRL | No |

| authorityInfoAccess | OCSP responder URL | No |

Security Considerations

Validation Criteria

When NOT to Use

Red Flags

Verification

Process

  1. Analyze the task requirements
  2. Apply domain expertise
  3. Verify output quality

Anti-Rationalization Table

| Rationalization | Reality |

|---|---|

| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |

| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |

| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.