Skip to content

Issue Installing in Docker #1851

Answered by goug76
goug76 asked this question in Q&A
May 17, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

So I think I have it figured out. While that bootloader is supposed to put the certificate in the trusted store, it didn't. After copying the certificate to the location.
sudo cp appdata/step/certs/root_ca.crt /usr/local/share/ca-certificates/
Then update the certificates sudo update-ca-certificates.
I also had to add this to the end of my compose file which seem to do the trick from my main device.

    extra_hosts:
      - 'ca.goug.local:127.0.0.1'

So the full Compose file looks like this:

services:
  step-ca:
    container_name: step-ca
    image: smallstep/step-ca
    restart: unless-stopped
    ports:
      - 8443:8443
    environment:
      - TZ=$TZ
    volumes:
      - $DOCKERDIR/a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@goug76
Comment options

@goug76
Comment options

Answer selected by goug76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant