https request with checking peer

Steve Davis <>
Thu Aug 12 01:37:15 CEST 2010

Hi Max,

It seems that ssl:start() isn't synonymous with

You can use ssl:start() or, doing it manually, the public_key
application needs to be started up as well as crypto.



On Aug 11, 3:53 pm, Max Lapshin <> wrote:
> 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 =(
> ________________________________________________________________
> erlang-questions (at) mailing list.
> See
> To unsubscribe; mailto:

More information about the erlang-questions mailing list