Splunk Platform PKI Setup
For 10.6 $8$ encryption and public CA Client Authentication EKU changes, see Enterprise 10.6 certificate notes.
Prerequisites
| Tool or access | Purpose | Verify |
|---|---|---|
| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |
| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |
| Credential files for live modes | Keep secrets out of chat | Verify paths only |
Workflow Overview
┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘
When to Activate
- Build Splunk PKI, mint certs, prepare third-party CA CSRs, replace default certs, configure mTLS, fix KV Store
cert validation, encrypt replication traffic, configure SAML/LDAPS trust, or rotate Splunk TLS certificates.
- Preview and review the splunk platform pki setup workflow before any live apply phase.
- Diagnose failed prerequisites, generated assets, configuration, or validation evidence.
Scope
Follow the documented read-only or render-first path whenever it is available.
This skill does not imply permission to mutate live systems. Require explicit
apply flags, protected credentials, and operator review for state changes.
Examples
Inspect the supported setup modes before selecting one:
bash skills/splunk-platform-pki-setup/scripts/setup.sh --help
Expected output: usage, supported modes, and required arguments are displayed
without changing the target environment.
Inspect validation modes before running completion checks:
bash skills/splunk-platform-pki-setup/scripts/validate.sh --help
Expected output: offline, live, and completion options are displayed when the
skill supports them; help exits without mutation.
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |
| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |
| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |
| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |
Shared add-on completion gate
If this workflow installs or hands off a registry-listed certificate or health
add-on, follow the shared completion gate.
Package delivery alone is not success; validate applicable collection and
shipped views, or record explicit package evidence that no dashboards ship.
This skill owns the full TLS / PKI lifecycle for a self-managed
Splunk Enterprise deployment. It runs in either of two modes:
- Private PKI — the skill renders scripts that build an internal
Root CA (and optional Intermediate), then mint per-component
server / client certificates with the right basicConstraints,
keyUsage, and extendedKeyUsage (including the dual serverAuth
clientAuthEKU that KV Store 7.0+ requires), with per-host
SANs.
- Public PKI — the skill renders per-host CSRs +
openssl.cnf and a handoff Markdown for the operator's
third-party CA (HashiCorp Vault PKI, ACME / cert-manager / Let's
Encrypt, Microsoft AD CS, EJBCA, or any commercial CA). It
installs and validates the returned signed PEMs but never embeds
CA credentials.
It is render-first: the default phase produces a reviewable
directory of CA scripts, CSR templates, install / verify scripts,
per-role distribution payloads (cluster bundle, SHC deployer
bundle, standalone, forwarder fleet, Edge Processor placeholders),
rotation runbooks, and operator handoff Markdown. It refuses to
apply changes until the operator passes --accept-pki-rotation.
Read this first — what this skill does NOT do
- It does not talk to a CA. Public-PKI mode renders CSRs and a
handoff Markdown; the operator submits to Vault / ACME / AD CS /
EJBCA / commercial CA out of band.
- It does not implement rolling restart or cluster bundle apply.
Both are delegated to