Quickstart command for PKI results in error about missing file

Open
#2,723 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, go
Domain
devops

Research direction

Start by checking the Docker Hub quickstart command and how the container initializes /home/step, especially the missing secrets/password file. Reproduce the command from the issue and trace the startup behavior; done means the documented quickstart works without that missing-file error, or the instructions clearly explain the required setup.

Written by the indexing model from the issue text.

Description

Discussed in https://github.com/smallstep/certificates/discussions/2722

Originally posted by Quicksoapy June 23, 2026
On Dockerhub: https://hub.docker.com/r/smallstep/step-ca, it says you can quickstart a PKI using this command:
docker run -it -v step:/home/step \ -p 9000:9000 \ -e "DOCKER_STEPCA_INIT_NAME=Smallstep" \ -e "DOCKER_STEPCA_INIT_DNS_NAMES=localhost,$(hostname -f)" \ -e "DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT=true" \ smallstep/step-ca

When running this, this is the response I get:
Unable to find image 'smallstep/step-ca:latest' locally latest: Pulling from smallstep/step-ca 987ab97de7c8: Pull complete 59043673e5af: Pull complete 589002ba0eae: Pull complete 3fa522a93ff5: Pull complete f19dea81e0af: Pull complete 4f4fb700ef54: Pull complete 3882371c5807: Pull complete 1f1296b59fe9: Download complete Digest: sha256:a2b17872915c193259b75a5474c398326f41bd199f0842093e52cf4182bc8270 Status: Downloaded newer image for smallstep/step-ca:latest error reading /home/step/secrets/password: open /home/step/secrets/password: no such file or directory

I am running this on Debian 13. Is this a known issue? Is there a fix? thanks!

Dominant language
Go
Stars
8.9k
Forks
599
Avg merge
21h 20m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/certificates

All issues in smallstep/certificates

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.