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

convert client certificate hostnames to lowercase #138

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alexskr
Copy link

@alexskr alexskr commented Mar 13, 2018

in some edge cases :fqdn can contain capital letters which will cause the following error

Error: Could not initialize global default settings: Certificate names must be lower case; see #1168

This change lowercases cert name

fixes Error: Could not initialize global default settings: Certificate names must be lower case; see #1168
in cases where :fqdn contains capital letters.
@ghoneycutt
Copy link
Owner

Thanks @alexskr !

We need a corresponding spec test that shows if $certname is capitalized that the ini setting is lowe case.

@ghoneycutt
Copy link
Owner

There should also be a comment in the code that links to the bug number you mentioned above so it is explained why this is needed.

@alexskr
Copy link
Author

alexskr commented Mar 14, 2018

Good idea! how does this look?

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