Hi all,

Based on the descriptions on the following webpage:

http://plug.org/pipermail/plug/2015-August/033939.html

I do the following testing:

1- Complile and install the lastest stunnel, i.e., the stunnel-5.29.

2- Obtaining the root cert

    wget -q 
https://gist.githubusercontent.com/coolaj86/327cee3eee6fc119b389/raw/root.pem
-O /tmp/root.pem

3- Prepare the following config file for stunnel:

    pid = /tmp/stunnel-tlsvpn.pid

    client = yes
    verify = 1
    foreground = yes

    [tlsvpn]
    accept = localhost:3000
    sni = coolaj86.com
    connect = coolaj86.com:443
    CAfile = /tmp/root.pem

4- Starting the stunnel:

  $ stunnel ./stunnel-tlsvpn.conf

5- Testing:

At this moment, I use the firefox to open the following url:

http://localhost:3000

But the firefox will only give the following line in its windows:

Cannot GET /

Any hints on this issue?

Regards
-- 
Hongyi Zhao <[email protected]>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

Reply via email to