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

Better support for wildcard certificates: #737

Merged
merged 2 commits into from
Feb 25, 2015

Conversation

JeetKunDoug
Copy link
Contributor

  • Update make_certs to support wildcard certificates by passing an additional Path parameter.
  • add replication2_ssl test to ensure using wildcard certificates works after PR to riak_core_ssl_util.

- Update make_certs to support wildcard certificates by passing an additional Path parameter.
- add replication2_ssl test to ensure using wildcard certificates works after PR to riak_core_ssl_util.
@JeetKunDoug
Copy link
Contributor Author

Depends on basho/riak_core#701, which is being held until 2.0.5 is released, so please DON'T MERGE yet.

@@ -112,8 +112,14 @@ intermediateCA(Root, CA, ParentCA) ->
endusers(Root, CA, Users) ->
[enduser(Root, CA, User) || User <- Users].

enduser(Root, CA, User) ->
UsrRoot = filename:join([Root, User]),
enduser(Root, CA, {User, Path}) ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but I'd prefer if the Path parameter was named something like DirName, as it's only one segment of the filesystem path.

- Change Path -> DirName in make_certs
- Added both more basic and more advanced tests with wildcard certs
@tburghart
Copy link
Contributor

+1 137a11c

JeetKunDoug added a commit that referenced this pull request Feb 25, 2015
…tests

 Better support for wildcard certificates
- riak_core#701 is now merged, so merging tests.
@JeetKunDoug JeetKunDoug merged commit 9f116ab into master Feb 25, 2015
@JeetKunDoug JeetKunDoug deleted the feature/support_wildcard_certs_in_tests branch February 25, 2015 16:54
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