--- Ursprüngliche Nachricht ---
Von: Adrián Mihálko <adria...@gmail.com>
Datum: 09.10.2015 08:15:19
An: stunne...@stunnel.org
Betreff: [stunnel-users] (no subject)
--- Ursprüngliche Nachricht ---
Von: "test rig" <tes...@z1p.biz>
Datum: 09.10.2015 09:48:02
An: "stunne...@stunnel.org." <stunne...@stunnel.org>
Betreff: Re: [stunnel-users] (no subject)
Hi Adrian, looks good to me so far - mostly. Try to replace the client=yes with a client=no on the server
--- Ursprüngliche Nachricht ---
Von: Adrián Mihálko
openssl s_client -connect 192.168.1.17:41952
..._______________________________________________
stunnel-users mailing list
stunne...@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
$ curl https://192.168.1.17:1988/DYMO/DLS/Printing/Check -vk
* Trying 192.168.1.17...
* Connected to 192.168.1.17 (192.168.1.17) port 1988 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: localhost
> GET /DYMO/DLS/Printing/Check HTTP/1.1
> Host: 192.168.1.17:1988
> User-Agent: curl/7.43.0
> Accept: */*
>
In the first mail I wrote ports bad, of course in the log I am using the good ones.
[myservice]cert = stunnel.pemclient = yesaccept = 0.0.0.0:1988
connect = localhost:41952
curl https://192.168.2.123:41951/DYMO/DLS/Printing/Check -vk -H "Host: localhost"
<html><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><body style="text-align:center;color:DarkGreen;font-size:2em;"><b>Congratulations! DLS Web Service is up and running. <br/>You can now print from supported web sites.
The biggest problem now, that I connect to this service from a javascript framework. And from there is still not working.
In the meantime I found in stunnel's TODO:
• Add user-defined headers to CONNECT proxy requests in order to impersonate other software (e.g. web browsers).
Maybe this is what I need now?
Regards,
Adrian
Regards