Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SSL client certificate support #474
added a commit
this pull request
Jan 21, 2014
@s-ludwig: Yep. A snippet from the related code in Thrift: https://gist.github.com/klickverbot/8544161 (this is run after the handshake has been completed, so I think the first few calls should never fail, but better be safe…). The access manger allows the user to customize the verification behavior. However, the interface only exposes the host name; for vibe.d, you might want to offer more options.
@s-ludwig: (Also note that
Just to remember: I've started a branch a while ago, which should be more or less done apart from the API: https://github.com/rejectedsoftware/vibe.d/commits/sslverify
I've postponed the host name verification until after the initial handshake for now, because getting the immediate certificate seems to be a bit awkward from within the validation callback and would need some careful verification.