Export and download CRL in PEM Format
Status: Beta
Brought to you by:
eddieroadcap
Hi,
I'm currently using phpki-0.80 and got a box with openvpn. As OpenVPN only supports CRL in PEM format, and as the CRL is already generated in PEM first, it'd be great to have the chance to download it.
The easiest solution is to alter phpki/main.php to add a dl_crl_pem action, similar to the dl_crl action.
Please find a patch attached.
This alters main.php and ca/main.php .
Logged In: YES
user_id=1232681
Originator: YES
File Added: phpki_dl_cer-pem.diff
Logged In: YES
user_id=1232681
Originator: YES
The attached file also modifies ca/main.php, where it adds the same functionality as in main.php, but also adopts the menu item.
For information, you can have the PEM format when you click to update and view CRL. (with 0.82-0.83 release)
Just take the content of :
-----BEGIN X509 CRL-----
...
-----END X509 CRL-----
Last edit: Thibault Capdevielle 2013-12-13