https request with checking peer

Max Lapshin <>
Wed Aug 11 22:53:20 CEST 2010


Hi!

I need to make https requests to https server and I need to check
validity of remote server.
When I type https://.. in browser, it takes somewhere public root
certificates and checkes server signature.
How should I do the same in erlang to verify remote server?

> application:start(crypto).
ok
> application:start(ssl).
{error,{not_started,public_key}}

Should I carry that server's public key with me, or I need to do
something else.

I would be very pleased, if someone points me where to read. Erlang
SSL guide haven't helped me =(


More information about the erlang-questions mailing list