[erlang-questions] ssl get server certificates

Dmitry Kolesnikov dmkolesnikov@REDACTED
Tue Jan 28 17:18:41 CET 2014


Hello,

I was trying to google the issue and browse through the list archive but have not found an answer to my questions.
I am trying to read all certificates transmitted by server during SSL negotiation. 
It looks for me that ssl:peercert(…) returns only “leaf” certificate. 

e.g. I am doing https://www.google.com connection. Wireshark shows multiple certificate(s) with total size about 7K but ssl:percent(…) returns only 1.1K “leaf” certification.   

May be one option is custom verify_certificate implementation!?  

- Dmitry





More information about the erlang-questions mailing list