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

Checks if chia needs to initialize from a defined CA #218

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Conversation

Starttoaster
Copy link
Contributor

If a CA is passed to this container, the entrypoint script will run chia init -c ${ca} to generate certificates in ${CHIA_ROOT}/config/ssl on startup. It currently does this even if you've already initiated from this CA in the past and kept the generated certs in a persistent volume. This just adds a simple openssl check to verify the private harvester cert in CHIA_ROOT against the supplied private CA.

For #216

@Starttoaster Starttoaster merged commit 61ab403 into main Dec 1, 2023
10 checks passed
@Starttoaster Starttoaster deleted the ca-check branch December 1, 2023 05:52
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

Successfully merging this pull request may close these issues.

2 participants