Re: older browsers, stunnel and privoxy
Peter Pentchev <[email protected]> Fri, 4 Jan 2019 01:14:16 +0200
| Newsgroups | gmane.network.stunnel.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 30, 2018 at 03:36:56AM +0100, kovacs janos wrote:
> it still doesnt seem to work. i tried it with deviantart.com again.
> configuration:
> client = yes
> accept = 127.0.0.1:80
> connect = 52.85.220.247:443
> verifyChain = yes
> CAfile = ca-certs.pem
> checkHost = *.deviantart.com
>
> the name after checkHost is the "Common Name" displayed when viewing
> the site's certificate in a browser(lock icon, view certificate). i
> also saved the certificate in case i would need to try the
> "certificate pinning" method. the connect IP is what 'get-site-ip.com'
> says the IP of the website is.
>
> these are the logs:
> Service [fbsd-www] accepted connection from 127.0.0.1:4121
> s_connect: connected 52.85.220.247:443
> Service [fbsd-www] connected remote server from 192.168.0.3:4122
> SSL_connect: 14077410: error:14077410:SSL
> routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
> Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
>
> i know i pestered everyone long enough, but i still havent been able
> to connect to anything. without any verification its the same
I'm sorry, my mistake. In a reply to somebody else on the list
a couple of days later I mentioned that for HTTPS you may also
need to set the "sni = www.deviantart.com" connection option so
that stunnel tells the server "I'm trying to establish an HTTPS
connection to this particular server", which, for HTTPS, may be
important when multiple virtual hosts all live on the same IP
address.
I haven't tried it with stunnel, but I just tried to establish
a TLS connection to the IP address you specified using "openssl
s_client" and it failed, and then I tried to specify
the "-servername www.deviantart.com" s_client option, and
it worked. So try adding "sni = www.deviantart.com" to your
stunnel configuration section and see if it helps.
Sorry again, I should have thought about this from the start;
I was misled by the fact that the FreeBSD webserver did not
require the Server Name Indication extension to work, but
apparently DeviantArt does.
G'luck,
Peter
--
Peter Pentchev roam@{ringlet.net,debian.org,FreeBSD.org} [email protected]
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlwul0QACgkQZR7vsCUn 3xNryBAAsCI3uZeStPGv2Bl0xqkGYJCn4TNYl0yo/XprlCVbeyGYL3VYd/ek1IkZ NkvtJpAIEkBa1fxD7k08itbwpEinucIknWj2O4+VPNSzqfjpOAoAMWdzyZjhLHMQ gKQjDrnL53Q5LMqkOM/Q8NB3X8rBrA//gubUu8x6x+B7CXZ0tV+agOjygyvPlUv8 acpB/h2DSQ9sRDo0HkUkp3MAz9aoyN5dNlO3nih12vJa1a69vd8ruC1NZ6JNVL+9 FviCzFmaoQanlwsaNwNFp9YQIEkZL2LLWL8hay3rASVjFot4WULQVNK+4EpMiF/A iJJYby47pXlib4fqqngq+cmXmNi4nGHT1PCEIr396fXY6pS9tTETk8j/va8JkalU 5c3Zg3W5NWRXBYJFoQRJdQ5e/HZZNbKM7CAgl9KXUiLz77jayhFq5wMeRoB5Zmwm bfqFX/4bdAVlyS46MXsqfNMQnzrZVNhHFRMSwfkhqKTxc3B5s/3+GFbDXZdzGRRY 6Ukw5/z0wZ6sx/qN/+NWtUvwRvX8dD2Y41rvA9ZazXn+vTmQ1Wx3FqbVKwvmqj2L I44Dsr2vvn5dq7y0rE/+pn946OSxoCv3OdqFBSwaGPxMhJS4ZXnWKOw56RRoi5xg +9Z8nzSfco9XAPC987/RmGRC+fupL4ZrYwxpYRlcWklKLd/fKqk= =Nt1z -----END PGP SIGNATURE-----