-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
openssl execution fails when --enddate is used #1056
Comments
@bjoern-r Thanks for this report - I confirm this is a bug. |
The fix required is at line 5582:
Remove |
There is also the possibility to remove
Easy-rsa always sets environment variables and SSL command options for dates. |
chaning the unset line worked for me. I first tried to remove line 31 from |
I have been considering possible solutions. Changing |
For Easy-RSA v3.2 the fix is: 2a8c0de Fixing v3.1.7 is not necessary. |
@bjoern-r I appreciate this bug report. |
EasyRSA Version Information
description
When the
--startdate
and--enddate
options are used the openssl execution fails with the error message:where the line in
openssl-easyrsa.cnf
has the following content.default_days = $ENV::EASYRSA_CERT_EXPIRE # how long to certify for
My understanding is that when
--enddate
is used EASYRSA_CERT_EXPIRE will be unset on line 5582 which will make openssl complain about the missing ENV variable.When
default_days
is hard coded to a number then--enddate
is working as expected.The text was updated successfully, but these errors were encountered: