VPN vs SSL client side certificates

VPN vs SSL client side certificates

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
VPN vs SSL client side certificates Michael Sharman 09-06-2005
Posted by Michael Sharman on September 6, 2005, 12:48 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi, I've been asked to setup a web server for a site with security
concerns. Basically they want to make sure that the data on any of the
web pages can't be accessed (accidentally or maliciously) by anyone
apart from authorised parties.

One suggestion was to setup a VPN (which I'm reading to mean some IPSEC
variant), but in my experience using protocols such as IPSEC this can
cause a lot of hassle in terms of home ADSL and/or firewall/NAT setups
that are tricky if not impossible to configure to allow IPSEC traffic.

Also, I want to reduce the difficulty in configuring access to the system.

My question is, would a simple SSL web server (e.g. Apache) with client
side certificate authentication on top of username/password access
provide equivalent security to a VPN setup (considering that the server
will _only_ run the SSL web server).

My thoughts are that provided there are no other services apart from
port 443 running on the machine then the risk of the data being
compromised is reduced to:
        - stealing the certificate from any of the authorised machines
         AND guessing or stealing a valid username/password
        - compromising the SSL protocol itself ( or it's implementation)
        (- and of course the usual social engineering or virus/trojan etc. but
these wouldn't be mitigated by a VPN anyway)

Which I think pretty much puts it close to the level of security
provided by a VPN except, I guess, the authenticated headers (AH protocol).

Am I missing anything important in this analysis? (Like can you trust
the IPSEC implementation to have less likelihood of being compromised
than the Apache SSL implementation? Or are is there any way to
compromise SSL because the TCP/IP headers aren't authenticated or
encrypted?)

Cheers,

Michael
--




Posted by Leythos on September 6, 2005, 3:20 am
If you were  Registered and logged in, you could reply and use other advanced thread options
msharman@internode.on.net says...
> Hi, I've been asked to setup a web server for a site with security
> concerns. Basically they want to make sure that the data on any of the
> web pages can't be accessed (accidentally or maliciously) by anyone
> apart from authorised parties.
>
> One suggestion was to setup a VPN (which I'm reading to mean some IPSEC
> variant), but in my experience using protocols such as IPSEC this can
> cause a lot of hassle in terms of home ADSL and/or firewall/NAT setups
> that are tricky if not impossible to configure to allow IPSEC traffic.
>
> Also, I want to reduce the difficulty in configuring access to the system.
>
> My question is, would a simple SSL web server (e.g. Apache) with client
> side certificate authentication on top of username/password access
> provide equivalent security to a VPN setup (considering that the server
> will _only_ run the SSL web server).

If you setup SSL on the server and provide secure passwords, then the
only way that unauthorized users will get in is to crack a password to
an exploit in the OS.

> My thoughts are that provided there are no other services apart from
> port 443 running on the machine then the risk of the data being
> compromised is reduced to:
>         - stealing the certificate from any of the authorised machines
>          AND guessing or stealing a valid username/password
>         - compromising the SSL protocol itself ( or it's implementation)
>         (- and of course the usual social engineering or virus/trojan etc. but
> these wouldn't be mitigated by a VPN anyway)
>
> Which I think pretty much puts it close to the level of security
> provided by a VPN except, I guess, the authenticated headers (AH protocol).
>
> Am I missing anything important in this analysis? (Like can you trust
> the IPSEC implementation to have less likelihood of being compromised
> than the Apache SSL implementation? Or are is there any way to
> compromise SSL because the TCP/IP headers aren't authenticated or
> encrypted?)

Since I always put services behind firewalls - one that also act as
IPSec and PPTP endpoints, I would suggest that you setup a Firewall
Appliance with VPN endpoint access and let people PPTP into the firewall
and then have a rule that permits authenticated users to access the
website through the tunnel.

If you use SSL only, you can setup a user/password and change it when
you deem needed, easier than doing individual passwords.

--

spam999free@rrohio.com
remove 999 in order to email me


Posted by Volker Birk on September 7, 2005, 2:37 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> Hi, I've been asked to setup a web server for a site with security
> concerns. Basically they want to make sure that the data on any of the
> web pages can't be accessed (accidentally or maliciously) by anyone
> apart from authorised parties.

Then a VPN is a very good idea.

> One suggestion was to setup a VPN (which I'm reading to mean some IPSEC
> variant), but in my experience using protocols such as IPSEC this can
> cause a lot of hassle in terms of home ADSL and/or firewall/NAT setups
> that are tricky if not impossible to configure to allow IPSEC traffic.

There are other VPN solutions, too. Try out ssh tunnelling and/or vtun.
You also could try OpenVPN.

Yours,
VB.
--
"Es kann nicht sein, dass die Frustrierten in Rom bestimmen, was in
deutschen Schlafzimmern passiert".
Harald Schmidt zum "Weltjugendtag"


Similar ThreadsPosted
Value of SSL client certificates? October 19, 2007, 10:18 am
how to purge my local client-certificates from my pc? February 26, 2006, 5:00 am
Side channel attacks books/references February 6, 2006, 4:40 am
VPN Client Software July 6, 2004, 7:48 am
Second Life Client - Security? May 17, 2007, 10:11 pm
用了F-Secure AntiVirus Client Security的掃瞄結果 November 16, 2004, 8:02 pm
Windows 98 client authentication failure November 27, 2006, 7:04 am
X.509 Digital Certificates March 7, 2005, 8:56 pm
Chaining x.509 certificates April 27, 2005, 3:46 pm
Chaining x.509 certificates April 27, 2005, 3:48 pm

The site map in XML format XML site map

Contact Us | Privacy Policy