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

gen-crl should use -crldays not -days #1059

Closed
TinCanTech opened this issue Jan 5, 2024 · 1 comment · Fixed by #1055
Closed

gen-crl should use -crldays not -days #1059

TinCanTech opened this issue Jan 5, 2024 · 1 comment · Fixed by #1055

Comments

@TinCanTech
Copy link
Collaborator

TinCanTech commented Jan 5, 2024

This does not currently effect eayrsa because CRL days is configured via openssl-easyrsa.cnf. However, the SSL parameter -days is incorrectly used here:

easy-rsa/easyrsa3/easyrsa

Lines 3169 to 3172 in 03e4829

easyrsa_openssl ca -utf8 -gencrl -out "$out_file_tmp" \
${EASYRSA_CRL_DAYS:+ -days "$EASYRSA_CRL_DAYS"} \
${EASYRSA_PASSIN:+ -passin "$EASYRSA_PASSIN"} || \
die "CRL Generation failed."

SSL -days only configures certificate expiry. OpenSSL Manual

@TinCanTech TinCanTech added the BUG label Jan 5, 2024
@TinCanTech TinCanTech self-assigned this Jan 5, 2024
@TinCanTech TinCanTech added this to the v3.2.0 milestone Jan 5, 2024
@TinCanTech TinCanTech linked a pull request Jan 5, 2024 that will close this issue
@TinCanTech
Copy link
Collaborator Author

Bugfix: 7313fb0

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

Successfully merging a pull request may close this issue.

1 participant