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

Any plans to implement the key/certificate exchange? #1

Open
aufflick opened this issue Nov 12, 2015 · 3 comments
Open

Any plans to implement the key/certificate exchange? #1

aufflick opened this issue Nov 12, 2015 · 3 comments

Comments

@aufflick
Copy link

I'd love to port my Apple push notification module (Net::APNS::Persistent) over to Protocol::TLS but it needs to do the key/cert handshake.

@vlet
Copy link
Owner

vlet commented Nov 13, 2015

Ok. I'll take a look.

@vlet
Copy link
Owner

vlet commented Nov 18, 2015

I've just released 0.04 with client cert support (only client side). Successfully tested against openssl s_server:

# first shell - server (in Protocol-TLS source dir)
$ openssl s_server -accept 4443 -cert t/test.crt -key t/test.key -debug -CAfile t/test.crt -Verify 2

# second shell - client (in Protocol-TLS source dir)
$ TLS_DEBUG=debug perl -Ilib examples/anyevent-tls-client.pl cert_file t/test.crt key_file t/test.key

@aufflick
Copy link
Author

Wow, amazing! I'll try it out with the Apple push notification servers.

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

No branches or pull requests

2 participants