CRL automatic download

This is a multipart message in MIME format.
--=_alternative 0050696FC1256E84_=
Content-Type: text/plain; charset="us-ascii"

Hello,

I plan to add CRL automatic download to modssl. I mean, when a certificate
contains a CRL distribution point, use it to download the CRL just-in-time
if it's not present in the local store, or if it's outdated, ...
I have the code to do the automatic download, but the integration in
modssl doesn't look evident to me, as it's my first dive into your code.

Here is what I currently plan:
- In function "ssl_callback_SSLVerify( )", replace the call to
"ssl_callback_SSLVerify_CRL( )" by a call to a new function
"ssl_callback_SSLVerify_Validity( )", with exactly the same parameters
- In "ssl_callback_SSLVerify_Validity( )":
- possibly perform an OCSP check (see my e-mail from today)
- call "ssl_callback_SSLVerify_CRL( )"
- if the check failed because the certificate is revoked => return error
- download the CRL
(this could be quite long, I could get a time-out. Any idea about that
?)
- if the download failed => return error
- write the CRL to the registered directory
- create a link to the CRL with name {hash}.r0
(can't I directly copy the file under that name ?)
- add the CRL to the CRL store
(or re-create totally the store ? This wouldn't be efficient)
- call "ssl_callback_SSLVerify_CRL( )" again

Do you see any problem with that ?
Is somebody interesting in participating in this, or simply discussing
more in-depth details ?

Marc

--=_alternative 0050696FC1256E84_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I plan to add CRL automatic download to modssl. I mean, when a certificate contains a CRL distribution point, use it to download the CRL just-in-time if it's not present in the local store, or if it's outdated, ...</font>
<br><font size=2 face="sans-serif">I have the code to do the automatic download, but the integration in modssl doesn't look evident to me, as it's my first dive into your code.</font>
<br>
<br><font size=2 face="sans-serif">Here is what I currently plan:</font>
<br><font size=2 face="sans-serif">- In function "ssl_callback_SSLVerify( )", replace the call to "ssl_callback_SSLVerify_CRL( )" by a call to a new function "ssl_callback_SSLVerify_Validity( )", with exactly the same parameters</font>
<br><font size=2 face="sans-serif">- In "ssl_callback_SSLVerify_Validity( )":</font>
<br><font size=2 face="sans-serif">  - possibly perform an OCSP check (see my e-mail from today)</font>
<br><font size=2 face="sans-serif">  - call  "ssl_callback_SSLVerify_CRL( )"</font>
<br><font size=2 face="sans-serif">  - if the check failed because the certificate is revoked => return error</font>
<br><font size=2 face="sans-serif">  - download the CRL</font>
<br><font size=2 face="sans-serif">    (this could be quite long, I could get a time-out. Any idea about that ?)</font>
<br><font size=2 face="sans-serif">  - if the download failed => return error</font>
<br><font size=2 face="sans-serif">  - write the CRL to the registered directory</font>
<br><font size=2 face="sans-serif">  - create a link to the CRL with name {hash}.r0</font>
<br><font size=2 face="sans-serif">    (can't I directly copy the file under that name ?)<br>
 - add the CRL to the CRL store</font>
<br><font size=2 face="sans-serif">    (or re-create totally the store ? This wouldn't be efficient)<br>
 - call  "ssl_callback_SSLVerify_CRL( )" again</font>
<br>
<br><font size=2 face="sans-serif">Do you see any problem with that ?</font>
<br><font size=2 face="sans-serif">Is somebody interesting in participating in this, or simply discussing more in-depth details ?</font>
<br>
<br><font size=2 face="sans-serif">Marc<br>
</font>
--=_alternative 0050696FC1256E84_=--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Marc Stern [ Mi, 28 April 2004 16:36 ] [ ID #147635 ]
Webserver » gmane.comp.apache.mod-ssl.user » CRL automatic download

Vorheriges Thema: 6:20:30 AM - seeking new products
Nächstes Thema: OCSP addition