<br>Web was just an example. I agree that Apache is better place to do this.<br><br>What about running stunnel on port 443 which will look like HTTPS to world but it connects to VNC if a valid client-cert is presented. This way my VNC will be totally private and protected from <i><b>possible detection</b></i> & attack. <br>
<br>Technically it is very much possible and I've done it using Java APIs. It would be neat if stunnel can be modified to do the same. Any help in creating such patch will be much appreciated.<br><br>Thanks,<br>Sudhaker<br>
<br>On Thu, May 8, 2008 at 3:53 PM, Brian Hatch <<a href="mailto:bri@stunnel.org">bri@stunnel.org</a>> wrote:<br>> Roughly around 2008-05-07 15:34 -0400, Sudhaker Raj mentioned:<br>><br>>> I wish to use stunnel for following use-case (to create a<br>
>> highly-protected website which can be accessed only using a valid<br>>> client-cert).<br>>><br>>> <a href="http://gateway.example.com:443">gateway.example.com:443</a> -> <a href="http://public.example.com:80">public.example.com:80</a> (when client-cert<br>
>> verification fails)<br>>> <a href="http://gateway.example.com:443">gateway.example.com:443</a> -> <a href="http://intranet.example.com:80">intranet.example.com:80</a> (when client-cert<br>>> verification ok - normally hidden from public)<br>
>><br>> ...<br>>> I guess it will be a nice addition to stunnel's feature list.<br>><br>><br>> I disagree.  I don't think it's a good idea to add to Stunnel.<br>><br>> This is application layer logic you want, essentially.  Your best<br>
> bet would be to use SSL in apache/webserver of choice directly.<br>> Then you can place the verification constraint in the configuration<br>> and configure the webserver to serve up selected pages if and only<br>
> if a cert has been used via normal apache 'require' ACLs.<br>><br>> Alternatively this could be configured with apache as a reverse<br>> proxy using mod_proxy in front of two different back end webservers<br>
> (public and intranet in your example above) if you really want<br>> distinct webservers for each.<br>><br>> --<br>> Brian Hatch                  "I think that we missed something.<br>>   Systems and                We should have called it 'Licensed<br>
>   Security Engineer          Software Delivery', not 'Electronic.'"<br>> <a href="http://www.ifokr.org/bri/">http://www.ifokr.org/bri/</a>    --Bruce<br>><br>> Every message PGP signed<br>><br>
> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG v1.2.1 (GNU/Linux)<br>><br>> iD8DBQFII1o7VkMj8/ymYEsRAmKyAJ9IfSok2pZPkknbD5cRHZag+C2hIACeLQhh<br>> jYZwdCyQhKFk0a/twP/G8qQ=<br>> =b0uW<br>> -----END PGP SIGNATURE-----<br>
><br>><br><br>