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

Force display_dn() and verify_file() to work without $OPENSSL_CONF #1161

Conversation

TinCanTech
Copy link
Collaborator

A correctly configured, OpenSSL:Unexpanded, LibreSSL:Expanded, SSL config file is ALWAYS required for SSL command 'req'.

Previously, this has been provided by openssl-easyrsa.cnf in place. Without that file the SSL command 'req' always fails.

However, specifying OPENSSL_CONF as '' [empty string] allows SSL command 'req' to complete, without error, for the purposes of verifying the input request file or displaying the DN.

A correctly configured, OpenSSL:Unexpanded, LibreSSL:Expanded, SSL
config file is ALWAYS required for SSL command 'req'.

Previously, this has been provided by openssl-easyrsa.cnf in place.
Without that file the SSL command 'req' always fails.

However, specifying OPENSSL_CONF as '' [empty string] allows SSL
command 'req' to complete, without error, for the purposes of verifying
the input request file or displaying the DN.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech self-assigned this Jun 4, 2024
@TinCanTech
Copy link
Collaborator Author

Failure on macOS ... typical.

@TinCanTech
Copy link
Collaborator Author

This was a bad hack.

Follow-up: #1158

@TinCanTech TinCanTech closed this Jun 5, 2024
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.

1 participant