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

Fix automatic certs rebuild #3447

Merged
merged 1 commit into from
Dec 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $(DEVNODES): certs configure.out rel/vars-toml.config
DEVNODE=true $(RUN) $(REBAR) as $@ release)

maybe_clean_certs:
if [ "$$SKIP_CERT_BUILD" = 1 ]; then \
if [ "$$SKIP_CERT_BUILD" != 1 ]; then \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops

if ! openssl x509 -checkend 3600 -noout -in tools/ssl/ca/cacert.pem ; then \
cd tools/ssl && make clean_certs; \
fi \
Expand All @@ -71,7 +71,7 @@ maybe_clean_certs:
certs: maybe_clean_certs
if [ "$$SKIP_CERT_BUILD" = 1 ]; then \
echo "Skip cert build"; \
else \
else \
cd tools/ssl && make; \
fi

Expand Down