Skip to contentSkip to conversation

Merge status of OCSP support?

Openvpn-devel Faidon Liambotis 5 participants 6 messages Jun 16, 2008 – Jun 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
In light of the Debian OpenSSL vulnerability, I was looking for a way to efficiently check for revoked certificates. Updating CRLs is one way but it's not exactly efficient.

I've found that someone has actually implemented OCSP for OpenVPN[1]. Is there any specific reason that this hasn't been merged?

I saw evidence on the openvpn-devel archives that this was submitted almost a year ago but I didn't see any reviews or comments whatsoever.

James, perhaps this should be included in -rc9?

Regards,
Faidon

1: http://www.block64.net/

#1 lore raw

Hi,

I don't know why the OCSP support is not included in the main source of OpenVPN (i need to update the patch for the rc7), but i know something:

- if your CRL (in flat file) is not up2date your OpenVPN will not crash
- if you decide to use OCSP server with OpenVPN (and my patch) and if your OCSP server crash, your OpenVPN will be block.

For my experience, I build Two OCSPd behind LVS and i bypass this problem.

What do you think about that ?

Regards,

Davy

Quoted 15 lines · Faidon Liambotis

Hi,
In light of the Debian OpenSSL vulnerability, I was looking for a way to efficiently check for revoked certificates. Updating CRLs is one way but it's not exactly efficient.

I've found that someone has actually implemented OCSP for OpenVPN[1]. Is there any specific reason that this hasn't been merged?

I saw evidence on the openvpn-devel archives that this was submitted almost a year ago but I didn't see any reviews or comments whatsoever.

James, perhaps this should be included in -rc9?

Regards,
Faidon

1: http://www.block64.net/

#2 lore raw

...

Quoted 3 lines
Quoted 1 line

I've found that someone has actually implemented OCSP for

OpenVPN[1].

Quoted 1 line

Is there any specific reason that this hasn't been merged?

...

Quoted 15 lines
Quoted 2 lines

1: http://www.block64.net/

Hi,

I don't know why the OCSP support is not included in the main source of OpenVPN (i need to update the patch for the rc7), but i know something:

- if your CRL (in flat file) is not up2date your OpenVPN will not crash
- if you decide to use OCSP server with OpenVPN (and my patch) and if
your OCSP server crash, your OpenVPN will be block.

Quoted 8 lines

For my experience, I build Two OCSPd behind LVS and i bypass this problem.

What do you think about that ?

Regards,

Davy

I use it and like it, and in the builds that I have published for OpenWRT, I have included that patch.

I don't understand Davy's first point, but to his second, I do wish that the openvpn could be made to fall back to a local CRL when the ocspd server cannot be reached. I have had this happen before, and effectively the vpn was shut down. Then again, from a security standpoint, that's probably a good thing.... Anyway, wish there was at least an option to have a local crl file fallback.

-Dave

#3 lore raw
In reply to Davy MELINA

Hello Davy,

I've a question about your patch for OCSP support :

OCSP URL is specified with "ocsp-url" option in configuration. It's OK if you have only one CA in your PKI (and so only one OCSP responder) but what happened if you have a real PKI with multiple CA (so potentially more than one OCSP responder) ?

OCSP responder URI should be stored under AIA (Authority Information Access) extension in each X509 certificate.
What about using AIA extension of each certs (and if it doesn't exist why not the "ocsp-url" specified in the configuration) in order to support multiple CA and multiple OCSP responders in a PKI ?

Regards

Quoted 49 lines · Davy MELINA

Hi,

I don't know why the OCSP support is not included in the main source of OpenVPN (i need to update the patch for the rc7), but i know something:

- if your CRL (in flat file) is not up2date your OpenVPN will not crash
- if you decide to use OCSP server with OpenVPN (and my patch) and if your OCSP server crash, your OpenVPN will be block.

For my experience, I build Two OCSPd behind LVS and i bypass this problem.

What do you think about that ?

Regards,

Davy

Quoted 7 lines · Faidon Liambotis

Hi,
In light of the Debian OpenSSL vulnerability, I was looking for a way to efficiently check for revoked certificates. Updating CRLs is one way but it's not exactly efficient.

I've found that someone has actually implemented OCSP for OpenVPN[1]. Is there any specific reason that this hasn't been merged?

Quoted 9 lines

I saw evidence on the openvpn-devel archives that this was submitted almost a year ago but I didn't see any reviews or comments whatsoever.

James, perhaps this should be included in -rc9?

Regards,
Faidon

1: http://www.block64.net/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#4 lore raw

Hi Mathieu,

You'r right about my patch, you can use only one OCSP responder and it's a great idea to use AIA extension in each X509 certificate.

So, i will find the time to code a new version of my patch or if you want to code it with me, i am open :)

Quoted 65 lines · Mathieu GIANNECCHINI

Hello Davy,

I've a question about your patch for OCSP support :

OCSP URL is specified with "ocsp-url" option in configuration. It's OK if you have only one CA in your PKI (and so only one OCSP responder) but what happened if you have a real PKI with multiple CA (so potentially more than one OCSP responder) ?

OCSP responder URI should be stored under AIA (Authority Information Access) extension in each X509 certificate.
What about using AIA extension of each certs (and if it doesn't exist why not the "ocsp-url" specified in the configuration) in order to support multiple CA and multiple OCSP responders in a PKI ?

Regards

Quoted 50 lines · Davy MELINA

Hi,

I don't know why the OCSP support is not included in the main source of OpenVPN (i need to update the patch for the rc7), but i know something:

- if your CRL (in flat file) is not up2date your OpenVPN will not crash
- if you decide to use OCSP server with OpenVPN (and my patch) and if your OCSP server crash, your OpenVPN will be block.

For my experience, I build Two OCSPd behind LVS and i bypass this problem.

What do you think about that ?

Regards,

Davy

Quoted 7 lines · Faidon Liambotis

Hi,
In light of the Debian OpenSSL vulnerability, I was looking for a way to efficiently check for revoked certificates. Updating CRLs is one way but it's not exactly efficient.

I've found that someone has actually implemented OCSP for OpenVPN[1]. Is there any specific reason that this hasn't been merged?

Quoted 9 lines

I saw evidence on the openvpn-devel archives that this was submitted almost a year ago but I didn't see any reviews or comments whatsoever.

James, perhaps this should be included in -rc9?

Regards,
Faidon

1: http://www.block64.net/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#5 lore raw
In reply to Faidon Liambotis
Quoted 3 lines · Faidon Liambotis <paravoid <at> debian.org> writes:

In light of the Debian OpenSSL vulnerability, I was looking for a way to efficiently check for revoked certificates.
Updating CRLs is one way but it's not exactly efficient.

A nice solution is the "tls-export" patch :
http://openvpn.net/archive/openvpn-devel/2005-12/msg00000.html

With it, it's easy to check OCSP, SVCP, CRL... or openssl blacklists... or whatever...

--
Thomas NOEL