Skip to content

pam_opa build is failing in GH Actions #169

Description

@charlesdaniels

The pam_opa image does not build due to this error:

--2022-04-04 21:18:15--  https://www.digip.org/jansson/releases/jansson-2.11.tar.gz
Resolving www.digip.org (www.digip.org)... 91.232.155.81, 2001:67c:1be8:1337::443
Connecting to www.digip.org (www.digip.org)|91.232.155.81|:443... connected.
ERROR: The certificate of 'www.digip.org' is not trusted.
ERROR: The certificate of 'www.digip.org' has expired.
Removing intermediate container 604d4960237d
The command '/bin/sh -c wget https://www.digip.org/jansson/releases/jansson-2.11.tar.gz &&     tar -xvf jansson-2.11.tar.gz &&     cd jansson-2.11 &&     ./configure --prefix=/usr &&     make &&     make check &&     make install' returned a non-zero code: 5
make[1]: *** [Makefile:12: image] Error 5
make: *** [Makefile:7: build] Error 2

However, I am able to run wget https://www.digip.org/jansson/releases/jansson-2.11.tar.gz without issue on my M1 Mac (macOS Monterey 12.1, build 21C52). Presumably, the GH Actions runner either has a clock or a certificate store issue that is preventing this from working.

One possible fix is to use --no-check-certificate and then check the sha265 sum of the downloaded file against a known value.

See also: #168

Activity

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