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

Add TLS and x509-name verification support #118

Merged
merged 6 commits into from
Feb 2, 2015
Merged

Add TLS and x509-name verification support #118

merged 6 commits into from
Feb 2, 2015

Conversation

maetthu-indermuehle
Copy link
Contributor

  • Server config
    • Added tls-server and tls-auth parameters to server config template
    • Generate TLS key on server while setting up the CA
  • Client config
    • Link tls key into client config bundle
    • Added x509-name parameter to client config template
  • Added test for tls and x509-name support in client and server

- Server config
  - Added tls-server and tls-auth parameters to server config template
  - Generate TLS key on server while setting up the CA
- Client config
  - Link tls key into client config bundle
  - Added x509-name parameter to client config template
- Added test for tls and x509-name support in client and server
- changed typo in client template
- changed typo in documenation of client.pp
- Removed trailing whitespaces in documenation of server.pp
@@ -99,6 +103,7 @@
$key_cn = '',
$key_name = '',
$key_ou = '',
$tls_auth = 'false',
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use a boolean instead of a string here.

@luxflux
Copy link
Contributor

luxflux commented Jan 10, 2015

Thanks a lot for this contribution! I added some comments directly in the code.

- Fixed some minor style stuff
- Added revese test
- Changed some dependencies
@maetthu-indermuehle
Copy link
Contributor Author

Thanks for the Input. I changed the points you mentioned. Except for the ordering. I don't have any good solution there without coping unnecessary code. Do you have any good ideas?

@tobru
Copy link

tobru commented Jan 13, 2015

🔝

@luxflux
Copy link
Contributor

luxflux commented Jan 13, 2015

You are right.... Could you merge master once more as there are merge conflicts? Afterwards we are ready to merge.

Conflicts:
	manifests/client.pp
	spec/defines/openvpn_client_spec.rb
@maetthu-indermuehle
Copy link
Contributor Author

I did a merge to the master.

@luxflux
Copy link
Contributor

luxflux commented Jan 13, 2015

Thanks, could you fix the tests?

- Fixed problem with tls-server parameter in upd setups
@maetthu-indermuehle
Copy link
Contributor Author

I fixed the test. One parameter was set twice.

@luxflux
Copy link
Contributor

luxflux commented Feb 2, 2015

Thanks!

luxflux added a commit that referenced this pull request Feb 2, 2015
Add TLS and x509-name verification support
@luxflux luxflux merged commit 0913cb1 into voxpupuli:master Feb 2, 2015
@tobru
Copy link

tobru commented Feb 2, 2015

Thanks for merging! =)

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.

3 participants