[erlang-questions] Problem in Erlang 21.0 and 21.1. Is this already known?

Peter Dimitrov peterdmv@REDACTED
Thu Oct 4 09:36:42 CEST 2018


It looks like itunes would like to negotiate a weaker cipher suite using
RSA key exchange.

Those ciphers are not supported by default but you can still configure ssl
to support them:

All = ssl:cipher_suites(all, 'tlsv1.2').

Opts = [{ciphers, All}].

[],"application/json", []}, [{ssl,Opts}], []).


-----Original Message-----
From: erlang-questions-bounces@REDACTED
<erlang-questions-bounces@REDACTED> On Behalf Of Xavier Robledo
Sent: den 3 oktober 2018 23:35
To: erlang-questions@REDACTED
Subject: [erlang-questions] Problem in Erlang 21.0 and 21.1. Is this
already known?

Hello I've run into a problem with this code:

inets:start(), ssl:start(), httpc:request(post, {"
https://sandbox.itunes.apple.com/verifyReceipt", [], "application/json",
[]}, [], []).

It returns the following error in the terminal:

=INFO REPORT==== 3-Oct-2018::16:26:14.278110 ===

TLS client: In state hello received SERVER ALERT: Fatal - Handshake Failure



                        {inet,[inet],{tls_alert,"handshake failure"}}]}}

Does anyone know if this is a known issue?


erlang-questions mailing list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181004/9ca536ca/attachment.htm>

More information about the erlang-questions mailing list