/splunk-platform:splunk-platform-pki-setupfrom Splunk Platform
Builds and manages Splunk PKI: mint certs, prepare CSRs, configure mTLS, fix KV Store validation, encrypt replication traffic, rotate TLS certificates across all Splunk Enterprise surfaces.
Ships in Splunk Platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| 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 |
┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘
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.
Inspect the supported setup modes before selecting one:
bash source-repository automation (not bundled) --help
Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.
Inspect validation modes before running completion checks:
bash source-repository automation (not bundled) --help
Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.
| 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 |
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:
basicConstraints,
keyUsage, and extendedKeyUsage (including the dual serverAuth
clientAuth EKU that KV Store 7.0+ requires), with per-host
SANs.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 source-repository automation (not bundled), CSR templates, install / verify source-repository automation (not bundled),
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.
skills/splunk-indexer-cluster-setup
(matches the repo precedent set by pass4SymmKey rotation,
which is also operator-orchestrated).customHttpHeaders; those headers
come from the reverse proxy and are owned by
skills/splunk-enterprise-public-exposure-hardening.[tls1.3] policy; --tls-version-floor tls1.3 enforces
TLS-1.3-only. Older Splunk versions remain TLS-1.2-only.SPLUNK_FIPS=1 (the master enable switch) and
SPLUNK_FIPS_VERSION in splunk-launch.conf.inputs.conf-in-app instead.--tls-policy stig)
and cites NIST controls in
references/fips-and-common-criteria.md
but does not attest.splunk-indexer-cluster-setup; SHC app push remains delegated
to splunk-agent-management-setup.Never paste secrets into chat or pass them on argv. The skill consumes file paths for every secret and never embeds secret values in rendered output:
bash portable local helper /tmp/splunk_admin_password
bash portable local helper /tmp/splunk_idxc_secret
bash portable local helper /tmp/pki_root_ca_key_password
bash portable local helper /tmp/pki_intermediate_ca_key_password
bash portable local helper /tmp/pki_leaf_key_password
bash portable local helper /tmp/pki_saml_sp_key_password
Pass them in via --admin-password-file, --idxc-secret-file,
--ca-key-password-file, --intermediate-ca-key-password-file,
--leaf-key-password-file, --saml-sp-key-password-file.
The rendered pki/install/install-leaf.sh script accepts a
separate --ssl-password-file PATH flag — this is the
plaintext leaf-key passphrase the operator copies to each
target host. install-leaf.sh writes it verbatim to the
sslPassword line of the per-host overlay
($SPLUNK_HOME/etc/system/local/server.conf | web.conf | inputs.conf | outputs.conf)
and on first restart Splunk encrypts it with splunk.secret. In
typical deployments --ssl-password-file and
--leaf-key-password-file reference the same plaintext file
(the leaf key's passphrase, which is what Splunk needs to read
the key). Omit --ssl-password-file when the leaf key is
unencrypted (e.g. PKCS#8 nocrypt for Edge Processor).
For non-secret values (FQDNs, SANs, role inventory, validity days,
key algorithm, mTLS surfaces, FIPS mode, TLS preset) use
template.example.
Render a Private PKI for a 3-peer indexer cluster + 3-member SHC with default Splunk-modern algorithms, mTLS on S2S + HEC, hostname validation everywhere, and the splunkd cert distributed through the cluster bundle:
bash source-repository automation (not bundled) \
--phase render \
--mode private \
--target indexer-cluster,shc,license-manager,deployment-server,monitoring-console \
--cm-fqdn cm01.example.com \
--peer-hosts idx01.example.com,idx02.example.com,idx03.example.com \
--shc-deployer-fqdn deployer01.example.com \
--shc-members sh01.example.com,sh02.example.com,sh03.example.com \
--lm-fqdn lm01.example.com \
--ds-fqdn ds01.example.com \
--mc-fqdn mc01.example.com \
--enable-mtls s2s,hec \
--tls-policy splunk-modern \
--include-intermediate-ca true
Render a Public PKI for the same cluster with a HashiCorp Vault PKI operator handoff and the SAML SP signing cert:
bash source-repository automation (not bundled) \
--phase render \
--mode public \
--target indexer-cluster,shc,license-manager,saml-sp \
--cm-fqdn cm01.example.com \
--peer-hosts idx01.example.com,idx02.example.com,idx03.example.com \
--shc-deployer-fqdn deployer01.example.com \
--shc-members sh01.example.com,sh02.example.com,sh03.example.com \
--lm-fqdn lm01.example.com \
--saml-sp true \
--public-ca-name vault \
--leaf-days 397
Render a FIPS 140-3 Private PKI with the indexer-cluster replication
port encrypted (atomic migration of [replication_port://9887] to
[replication_port-ssl://9887]):
bash source-repository automation (not bundled) \
--phase render \
--mode private \
--target indexer-cluster \
--cm-fqdn cm01.example.com \
--peer-hosts idx01.example.com,idx02.example.com,idx03.example.com \
--fips-mode 140-3 \
--tls-policy fips-140-3 \
--encrypt-replication-port true \
--key-algorithm rsa-2048 \
--include-intermediate-ca true
Render the Edge Processor cert pair (RSA-2048 by default; pass
--key-algorithm ecdsa-p256 for ECDSA):
bash source-repository automation (not bundled) \
--phase render \
--mode private \
--target edge-processor \
--include-edge-processor true \
--ep-fqdn ep01.example.com \
--ep-data-source-fqdn datasource01.example.com \
--key-format pkcs8
Run preflight against a live host (read-only checks; refuses to apply):
bash source-repository automation (not bundled) \
--phase preflight \
--mode private \
--target indexer-cluster,shc \
--cm-fqdn cm01.example.com \
--admin-password-file /tmp/splunk_admin_password
Inventory live cert posture (read-only; never writes):
bash source-repository automation (not bundled) \
--phase inventory \
--target all \
--admin-password-file /tmp/splunk_admin_password
Apply rendered certs to a search head (mutates Splunk; requires the explicit accept flag):
bash source-repository automation (not bundled) \
--phase apply \
--mode private \
--target shc \
--shc-deployer-fqdn deployer01.example.com \
--leaf-target shc \
--leaf-host sh01.example.com \
--leaf-cert-file /tmp/signed/sh01.pem \
--leaf-private-key-file /tmp/signed/sh01.key \
--leaf-ca-bundle-file /tmp/signed/cabundle.pem \
--accept-pki-rotation \
--admin-password-file /tmp/splunk_admin_password \
--leaf-key-password-file /tmp/pki_leaf_key_password
Validate live state post-apply:
bash source-repository automation (not bundled) \
--target indexer-cluster,shc \
--cm-fqdn cm01.example.com \
--admin-password-file /tmp/splunk_admin_password
Under the project root in splunk-platform-pki-rendered/:
pki/private-ca/ — only when --mode private: create-root-ca.sh,
create-intermediate-ca.sh, sign-server-cert.sh,
sign-client-cert.sh, sign-saml-sp.sh, plus openssl-*.cnf
files with the documented basicConstraints / keyUsage /
extendedKeyUsage extensions, and a README.md that walks the
operator through CA generation. Uses
$SPLUNK_HOME/bin/splunk cmd openssl genpkey/req/x509 per
Splunk's documented workflow so the same OpenSSL build that
Splunk uses signs and verifies.pki/csr-templates/<role>-<host>.cnf + generate-csr.sh —
emitted in both modes; per-host CSR config with SANs and EKU.pki/install/install-leaf.sh, verify-leaf.sh,
kv-store-eku-check.sh, align-cli-trust.sh,
install-fips-launch-conf.sh, prepare-key.sh — cert
install + verify per host. kv-store-eku-check.sh runs the
documented splunk cmd openssl verify -x509_strict check from
the KV Store custom-cert prep doc and refuses to declare a host
ready unless the verification returns OK.pki/distribute/cluster-bundle/master-apps/000_pki_trust/local/
— cluster-bundle drop-in: server.conf (with
[replication_port-ssl://9887] if --encrypt-replication-port=true),
inputs.conf ([splunktcp-ssl:9997] + [SSL]).pki/distribute/shc-deployer/shcluster/apps/000_pki_trust/local/
— SHC deployer drop-in: server.conf, web.conf, inputs.conf.pki/distribute/standalone/000_pki_trust/local/ — for
non-clustered roles (LM, DS, MC, single SH, HF):
server.conf, web.conf, inputs.conf, outputs.conf,
authentication.conf, deploymentclient.conf,
splunk-launch.conf (when FIPS), system-files/ldap.conf
(when LDAPS).pki/distribute/forwarder-fleet/<group>/{outputs-overlay.conf,server-overlay.conf}
— UF / HF outputs overlay with clientCert /
sslVerifyServerCert=true / sslVerifyServerName=true and
per-indexer [tcpout-server://host:port] SAN overrides.pki/distribute/edge-processor/ — only when
--include-edge-processor=true: 5-file PEM placeholders
(ca_cert.pem.example, edge_server_cert.pem.example,
edge_server_key.pem.example,
data_source_client_cert.pem.example,
data_source_client_key.pem.example) + upload-via-rest.sh.example
for the EP REST upload and README.md for the EP UI walkthrough.pki/distribute/saml-sp/ — only when --saml-sp=true:
sp-signing.crt, sp-signing.key.placeholder, README.md for
re-uploading IdP metadata after rotation.pki/rotate/{plan-rotation.md, rotate-leaf-host.sh, swap-trust-anchor.sh, swap-replication-port-to-ssl.sh, expire-watch.sh} — rotation helpers with the delegated
rolling-restart runbook.handoff/ — CA, Cloud, FIPS, Edge Processor, native expiry monitoring,
optional legacy Splunkbase 3172, health, CIM, and operator checklists.preflight.sh, validate.sh, inventory.sh, README.md, metadata.json.SSL Certificate Checker (3172, app ssl_certificate_checker) stops at 9.4
and must not be installed on Cloud 10.5. Use expire-watch.sh plus
inventory.sh; see post-install monitoring.
render (default) — produce the reviewable rendered tree. No
Splunk REST calls; safe to run anywhere.preflight — render then run the live preflight checks: cert
directory permissions, default-cert refusal,
KV-Store EKU verification (splunk cmd openssl verify -x509_strict
must return OK), splunk.secret SHA-256 parity across cluster
members, FIPS posture (refuses mid-Phase-1 / Phase-2 migration),
hostname-validation gating, TLS protocol floor check
(sslVersions = tls1.2), per-host
splunk btool server list sslConfig snapshot, replication-port
mode (cleartext vs SSL), [shclustering] pass4SymmKey
presence reminder. Refuses to mark the deployment ready when any
check fails.apply — render then run the local-host
pki/install/install-leaf.sh + align-cli-trust.sh +
install-fips-launch-conf.sh if FIPS. Requires
explicit --leaf-target, --leaf-host, and --leaf-ca-bundle-file
inputs, plus --leaf-cert-file and --leaf-private-key-file for every
target except CA-only ldaps, and
--accept-pki-rotation (a single-flag acknowledgement that the
operator is about to swap serving certs and trigger downstream
restart).rotate — render then emit a rotation runbook
(pki/rotate/plan-rotation.md) describing the full delegated
order. Does NOT exec the rolling restart itself (delegate
pattern, see "Rotation ownership" below), and exits nonzero so
rendering the runbook cannot be mistaken for a completed rotation.validate — render then run the live validation probes:
REST + openssl s_client -connect per surface, KV Store
handshake check, splunk show-decrypted round-trip on
sslPassword, SAML SP signing cert exposed in IdP-metadata
endpoint.inventory — read-only: collects
splunk btool server list sslConfig, web list sslConfig,
inputs list http SSL, dumps PEM expiry catalogue and emits
pki/inventory/<host>.json. No Splunk write operations. No
--accept-… required.all — render + one local-host leaf apply + installed-state preflight, then
stop nonzero at the cluster-aware restart/rotation handoff. Run validate only after that
restart completes. It uses the same explicit leaf inputs and
--accept-pki-rotation gate.--accept-pki-rotationThe skill refuses to run apply or all without
--accept-pki-rotation. This is a single-flag acknowledgement
that:
verify-leaf.sh returned
OK).splunk-indexer-cluster-setup --phase rolling-restart).The render and preflight phases never need this flag.
The skill emits pki/rotate/plan-rotation.md, but does not run cluster
or SHC rolling restarts itself. Follow the canonical
rotation runbook for the exact staging,
bundle validation/apply, rolling-restart, SHC push, forwarder rollout,
validation, and rollback commands. That delegation preserves the
splunk-indexer-cluster-setup
ownership model instead of duplicating restart orchestration here.
Read the cross-skill ownership matrix before delegating restarts, bundle pushes, token lifecycle, or fleet rollout. TLS algorithms, protocol floors, FIPS lifecycle, validity caps, key formats, and mTLS defaults are defined in reference.md and the topic files under references/. The renderer consumes the machine-readable algorithm policy and fails closed on deprecated protocols or incomplete FIPS transitions.
Read reference.md before any apply. Topical deep dives (each anchored to a specific upstream Splunk doc captured in references/authoritative-sources.md):
This Cisco DevNet package preserves the source skill's operational guidance, references, templates, and assets. Source-repository agents/openai.yaml files and repository-coupled scripts/shared helpers are intentionally not bundled. Any omitted automation must be recreated with the target product's supported tools after read-only discovery, exact-target review, explicit approval, rollback preparation, and post-change validation. Keep secrets in local mode-0600 files and never paste them into chat, commands, or logs.
reference.md (opens in a new tab)references/algorithm-policy.json (opens in a new tab)references/algorithm-presets.md (opens in a new tab)references/authoritative-sources.md (opens in a new tab)references/cli-trust-cacert-alignment.md (opens in a new tab)references/component-cert-matrix.md (opens in a new tab)references/edge-processor-pki.md (opens in a new tab)references/fips-and-common-criteria.md (opens in a new tab)references/handoff-acme-cert-manager.md (opens in a new tab)references/handoff-ejbca.md (opens in a new tab)references/handoff-microsoft-adcs.md (opens in a new tab)references/handoff-vault-pki.md (opens in a new tab)references/key-format-and-permissions.md (opens in a new tab)references/kv-store-eku-requirements.md (opens in a new tab)references/ldaps-trust.md (opens in a new tab)references/mtls-and-hostname-validation.md (opens in a new tab)references/post-install-monitoring.md (opens in a new tab)references/private-pki-workflow.md (opens in a new tab)references/public-pki-workflow.md (opens in a new tab)references/replication-port-tls.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ciscodevnet/skills --plugin splunk-platform87 skills in this plugin
/cisco-appdynamics-setupUse when the user asks about AppDynamics setup, Splunk_TA_AppDynamics, controller connections, analytics connections, or AppDynamics dashboards in Splunk. Automate Cisco Splunk Add-on for AppDynamics (Splunk_TA_AppDynamics) setup and configuration. Creates the AppDynamics index, sets add-on defaults, configures controller and optional analytics connections, enables common input groups, and validates the deployment.
/cisco-asa-ta-setupUse when onboarding or validating Cisco ASA or FTD syslog with Splunk_TA_cisco-asa and SC4S.
/cisco-catalyst-enhanced-netflow-setupOther plugins' skills for the same job