[sr-dev] [PATCH]Certificate revocation list support in TLS plugin

Couprie Geoffroy geoffroy.couprie at atosorigin.com
Fri Sep 3 10:25:42 CEST 2010


Hello,

Here is a patch to use certificate revocation lists in the TLS plugin. It applies cleanly to Kamailio 3.0.2 and 3.0.3 (I didn't test 3.1). The paths in the patches are not right because I can't use Git here. Is there a Git repository of Kamailio accessible from http somewhere?

About the patch itself: the certification revocation list is loaded from a file by the "crl" option, like the CA list. I didn't try to concatene multiple revocation lists like the CA lists, but it should work.

I'll soon send another patch to support reloading the list without resarting the server. If i understood the code, I have to send the command through a FIFO, like kamctl? Can I take inspiration in the lcr_reload or dp_reload functions, or is there a better code somewhere?

Best regards,

Geoffroy

________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20100903/ff6335ca/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: certificate_revocation_list.patch
Type: application/octet-stream
Size: 14991 bytes
Desc: certificate_revocation_list.patch
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20100903/ff6335ca/attachment-0001.obj>


More information about the sr-dev mailing list