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

verify_ca_init: Reorder names to improve error message #638

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

TinCanTech
Copy link
Collaborator

If verify_ca_init fails then the error message states that: 'serial
is missing'. While this is true, it is not 'user friendly'.

Reorder the checks so that if verify_ca_init fails then the error
message will "probably" state that: 'ca.crt is missing', which makes
more sense if the CA has not been initialised.

Signed-off-by: Richard T Bonhomme tincantech@protonmail.com

If verify_ca_init fails then the error message states that: 'serial
is missing'.  While this is true, it is not 'user friendly'.

Reorder the checks so that if verify_ca_init fails then the error
message will "probably" state that: 'ca.crt is missing', which makes
more sense if the CA has not been initialised.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech self-assigned this Aug 15, 2022
@TinCanTech TinCanTech added this to the v3.1.1-RC1 milestone Aug 15, 2022
@TinCanTech TinCanTech merged commit b77963b into OpenVPN:master Aug 16, 2022
@TinCanTech TinCanTech deleted the improve-verify-ca-init branch October 28, 2022 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant