Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pam_opa build is failing in GH Actions #169

Open
charlesdaniels opened this issue Apr 5, 2022 · 0 comments
Open

pam_opa build is failing in GH Actions #169

charlesdaniels opened this issue Apr 5, 2022 · 0 comments

Comments

@charlesdaniels
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant