[erlang-questions] ssl issue

Loco Jay <>
Tue Dec 31 04:04:09 CET 2013


setting the ciphers cowboy --> ranch --> ssl to
                       {ciphers, [{dhe_rsa,aes_256_cbc,sha256},
                                  {dhe_dss,aes_256_cbc,sha256},
                                  {rsa,aes_256_cbc,sha256},
                                  {dhe_rsa,aes_128_cbc,sha256},
                                  {dhe_dss,aes_128_cbc,sha256},
                                  {rsa,aes_128_cbc,sha256},
                                  {dhe_rsa,aes_256_cbc,sha},
                                  {dhe_dss,aes_256_cbc,sha},
                                  {rsa,aes_256_cbc,sha},
                                  {dhe_rsa,'3des_ede_cbc',sha},
                                  {dhe_dss,'3des_ede_cbc',sha},
                                  {rsa,'3des_ede_cbc',sha},
                                  {dhe_rsa,aes_128_cbc,sha},
                                  {dhe_dss,aes_128_cbc,sha},
                                  {rsa,aes_128_cbc,sha},
                                  {rsa,rc4_128,sha},
                                  {rsa,rc4_128,md5},
                                  {dhe_rsa,des_cbc,sha},
                                  {rsa,des_cbc,sha}]}.
solve's the issue.



On Mon, Dec 30, 2013 at 6:18 PM, Loco Jay <> wrote:

> Hi,
>
> I am having an issue getting ssl to work
>
> Hi,
>
> I am having an ssl issue
>
> The following gist
>
> https://gist.github.com/locojay/8188721
>
> list’s how to install my setup (ubuntu 12.04 vagrant box, esl erlang
> R16B03, ssl 5.3.2, cowboy's ssl_example on master).
>
> I tested the following clients:
>
> - curl, chrome , firefox, safari, python requests
>
> on ubuntu 12.10 and osx 10.9 mavericks
>
> with the following result's
>
>
>   CHROME | FIREFOX | SAFARI | CURL
>
> UBUNTU  fails          | fails          | na          | works
>
> OSX          fails         | fails(long stacktrace) | fails        | fails
>
>
>  the gist contains server/client log’s for these options
>
>
> I'm using the cowboy ssl example to demonstrate my problem. Using an other
> self signed, or signed certificate results in the same issue.
>
> Creating a pem file of the example key, cert ca-cert and using in ejabberd
> 13.12 works fine with all browser’s.
>
> which:applications() in ejabberd 13.12 return’s ssl 5.3.2
>
> I am confused since i thought that the issue would have been the ssl app
> since we have
>
>  cowboy —> ranch —> sslapp
>
> I am out of idea’s and would really appreciate any help
>
> Many thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131230/2596f7fd/attachment.html>


More information about the erlang-questions mailing list