-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Hongyi,
My hint:
$ curl -s http://localhost:3000/ Cannot GET /
$ curl -s -H 'Host: coolaj86.com' http://localhost:3000/ <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>AJ ONeal</title> ...
Best regards, Mike
On 14.01.2016 05:51, Hongyi Zhao wrote:
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/r
oot.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:
But the firefox will only give the following line in its windows:
Cannot GET /
Any hints on this issue?
Regards