Skip to content

List OpenSSL providers available when FIPS mode can't be honored #1774

Open

Description

@qmuntal

We have seen several teams using AZL3 using an incorrect OpenSSL configuration, mostly because the /etc/pki folder has been mounted from the container host. The host might not know about OpenSSL 3 or SCOSSL, so the result is that OpenSSL might not use SCOSSL, but the default build-in providers. This issue is tricky to debug and even to detect, as the default build-in provider are supported by Microsoft Go.

The easiest way to detect this situation is running the application with GODEBUG=fips140=on, in which case the application will panic at start time because the default built-in provider doesn't support FIPS mode.

One thing we could do to facilitate debugging OpenSSL instanced that can't honor FIPS mode os to list the available OpenSSL providers. This way it will be more obvious that SCOSSL is not available.

Activity

  1. added this to the go1.26 milestone on Jul 24, 2025
  2. changed the title [-]List OpenSSL providers available when FIPS mode is requested but not available[/-] [+]List OpenSSL providers available when FIPS mode can't be honored[/+] on Jul 24, 2025
  3. gdams commented on Sep 25, 2025

    @gdams
    Member

    [triage] people can run openssl list -providers in the short term until this is implemented

  4. removed this from the go1.26 milestone on Sep 25, 2025
  5. qmuntal commented on Feb 5, 2026

    @qmuntal
    MemberAuthor

    [triage] people can run openssl list -providers in the short term until this is implemented

    We could add this guidance into the panic message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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