You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting "tlsv1 alert internal error" with the client #775
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.
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 ?
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() ?
Activity
maingoh commentedon Oct 2, 2017
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,
maingoh commentedon Oct 2, 2017
Would it work all the time if I replaced
sni_hostname_byhosthere ?maingoh commentedon Oct 18, 2017
I am ready to make a PR to be able to add a
sni_hostname(const std::string &host)method to therequestobject. What is the best way to send this variable to the client and callSSL_set_tlsext_host_name()?