httpc implementation ignores ssl options (Bugzilla #87)
Opened this issue · 0 comments
status CONFIRMED severity enhancement in component ling-libs for ---
Reported in version 0.2.2 on platform PC
Assigned to: mk
On 2013-12-16 07:17:49 +0100, vlad kirillov wrote:
thus it's not possible to turn off https validation:
2> httpc:request(post, {"https://build.erlangonxen.org:8080", [], [], <<>>}, [{ssl, [{verify, verify_none}]}], []).
=ERROR REPORT==== 16-Dec-2013::12:15:34 ===
SSL: certify: tls_handshake.erl:259:Fatal error: certificate unknown
{error,{failed_connect,[{to_address,{"build.erlangonxen.org",
8080}},
{inet,[inet],{tls_alert,"certificate unknown"}}]}}3> httpc:request(get, {"https://google.com", []}, [{ssl, [{verify, verify_none}]}], []).
=ERROR REPORT==== 16-Dec-2013::12:16:52 ===
SSL: certify: tls_handshake.erl:259:Fatal error: certificate unknown
{error,{failed_connect,[{to_address,{"google.com",443}},
{inet,[inet],{tls_alert,"certificate unknown"}}]}}