[erlang-questions] SSL client authentication help needed
Martynas Pumputis
martynasp@REDACTED
Tue Oct 23 17:56:46 CEST 2012
It might help you: https://github.com/erlang/otp/tree/maint/lib/ssl/examples
Also, this tutorial for generating certs with openssl:
http://blog.nategood.com/client-side-certificate-authentication-in-ngi
Martynas
On 10/23/2012 05:54 PM, Loïc Hoguin wrote:
> On 10/23/2012 05:51 PM, Wes James wrote:
>> Hi.
>>
>> On Tue, Oct 23, 2012 at 5:27 AM, Loïc Hoguin <essen@REDACTED
>> <mailto:essen@REDACTED>> wrote:
>>
>> Hello,
>>
>> I am trying to set up client authentication on a website for
>> testing, but my knowledge of SSL is quite poor.
>>
>> Can anyone give me clear steps to generate certificates and set
>> things up, or at least pinpoint me to resources that would help me
>> get started? Been trying for two days now and I'm kinda stuck.
>>
>> Thanks!
>>
>>
>> Not quite sure what you are doing.
>
> Doing client authentication using SSL certificates (instead of digests
> or whatnot).
>
> I just managed to get something working.
>
> Client certificate is only requested if your SSL connection is
> configured with {verify, verify_peer}.
>
> Then, for testing purposes, I also had to set a {verify_fun, FunInfo},
> where the fun in FunInfo accepts self-signed certificates.
>
> I'll document the whole process after I'm done with it.
>
More information about the erlang-questions
mailing list