step-ca
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "step-ca" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d2f24876d612dd34d024cbd25d5776ac91ace5307a4a539b7f0d0ee582e90d17. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Run a private certificate authority using step-ca. Intended for scenarios that require issuing internal TLS certificates, setting up mTLS between services, creating a private PKI, or managing certificates for internal infrastructure.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
Frontmatter
name: step-ca
description: >-
Run a private certificate authority with step-ca. Use when a user asks to
issue internal TLS certificates, set up mTLS between services, create a
private PKI, or manage certificates for internal infrastructure.
license: Apache-2.0
compatibility: 'Linux, macOS, Docker'
metadata:
author: terminal-skills
version: 1.0.0
category: devops
tags:
- step-ca
- pki
- certificates
- mtls
- internal-tlsstep-ca (Smallstep)
Overview
step-ca is a private certificate authority for issuing TLS certificates to internal services. Automated certificate issuance, renewal, and revocation — like Let's Encrypt but for private infrastructure.
Instructions
Step 1: Initialize CA
brew install step
step ca init --name "Internal CA" --dns localhost --address :443 --provisioner admin
Step 2: Issue Certificates
step-ca $(step path)/config/ca.json # start CA server
step ca certificate api.internal api.crt api.key # issue cert
Step 3: Auto-Renewal
step ca renew --daemon api.crt api.key # auto-renews before expiry
Step 4: mTLS Between Services
// server.ts — Node.js server with mutual TLS
import https from 'https'
import fs from 'fs'
const server = https.createServer({
cert: fs.readFileSync('server.crt'),
key: fs.readFileSync('server.key'),
ca: fs.readFileSync('root_ca.crt'),
requestCert: true, // require client certificate
rejectUnauthorized: true,
}, (req, res) => {
const clientCN = req.socket.getPeerCertificate().subject.CN
res.end('Hello ' + clientCN)
})
Guidelines
- Use step-ca for internal services, Let's Encrypt for public-facing.
- Short-lived certs (24h) with auto-renewal are more secure than long-lived ones.
- ACME protocol support — works with Certbot, Caddy.
- Integrates with Kubernetes cert-manager for automatic pod certificates.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决企业内部 TLS/mTLS/PKI 核心需求,实用价值高
- 适用于服务间安全通信、私有证书管理等高频 DevOps 场景
Highlights
- 触发词精准覆盖签发内部 TLS 证书、设置 mTLS、创建私有 PKI 等核心场景
- 边界清晰,不易误触或漏触
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
文档未设置显式的 When to Use 章节,虽然 description 已覆盖使用场景
Recommendation: 建议添加 When to Use 显式章节以提升可读性
Highlights
- 步骤划分清晰(Step 1-4),含端到端示例
- frontmatter 完整,文件结构规范
Highlights
- 工具来源明确(step-ca),参数使用正确
- 覆盖自动续期、mTLS 配置等关键异常场景
- 提供 Node.js 示例,执行路径完整
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Read local files
Limit access to selected files or the project directory. Avoid unrelated private records, secrets and configuration files.
Mentioned in main document · lines 57, 58, 59 -
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.