Skip to content

Root CA certificates are missing in container images #2433

@jorti

Description

@jorti

The root CA certificates are not installed in the container images, causing issues when connecting to external services, for example when adding a OIDC provisioner.

I'm trying to configure a OIDC provisioner using my Authelia server:

$ step ca provisioner add Authelia --type oidc --client-id ID --client-secret "SECRET" --configuration-endpoint "https://auth.example.com"  --admin-subject=step --admin-provisioner=admin

error storing provisioner Authelia: error validating configuration for provisioner "Authelia": failed to connect to https://auth.example.com/.well-known/openid-configuration: Get "https://auth.example.com/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate signed by unknown authority

auth.example.com is using a valid Letsencrypt certificate as it's a service publicly accessible. Step CA is running as a container using the image docker.io/smallstep/step-ca:hsm.

I'd expect that step has trust in the root CA certificates when connecting to a OIDC server.

Originally posted by @jorti in #2432

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions