Skip to content

Getting "tlsv1 alert internal error" with the client #775

Closed

Description

@maingoh

I have disabled the SSL verification but I am getting ""tlsv1 alert internal error" when downloading https://www.guide-du-chien.com/wp-content/uploads/2016/10/Beagle.jpg. I saw there is an option using openssl_sni_hostname(host) but I can have URLs from multiple unknown hosts and cannot use a new client everytime.

Is there a solution to fix this ?
I am using 0.13 branch.

Thank you,

Activity

  1. maingoh commented on Oct 2, 2017

    @maingoh
    Author

    So I am having the problem with many images like https://media1.popsugar-assets.com/files/thumbor/DUxerwFFhyg8zASXMBujxvyd7wc/fit-in/1024x1024/filters:format_auto-!!-:strip_icc-!!-/2015/12/18/013/n/4981322/cde696d5ef8ec461_l/i/Wedding-Dress-Pictures-Instagram.jpg.

    It is quite critical for me, is there a way to hack this ? turning off sni or set dynamically the openssl_sni_hostname(request.host()) as mentionned in #682 ?

    Thank you very much,

  2. maingoh commented on Oct 2, 2017

    @maingoh
    Author

    Would it work all the time if I replaced sni_hostname_ by host here ?

  3. maingoh commented on Oct 18, 2017

    @maingoh
    Author

    I am ready to make a PR to be able to add a sni_hostname(const std::string &host) method to the request object. What is the best way to send this variable to the client and call SSL_set_tlsext_host_name() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions