[v2,1/2] openvpn: Add option to download a client package with PEM files
mbox

Message ID 1446220042-22681-1-git-send-email-michael.tremer@ipfire.org
State New
Headers show

Message

Michael Tremer Oct. 31, 2015, 2:47 a.m. UTC
This patch adds the option to download a client package
that comes with a regular PEM and key file instead of a
PKCS12 file which is easier to use with clients that
don't support PKCS12 (like iOS) opposed to converting
the file manually.

This requires that the connection is created without
using a password for the certificate. Then the certificate
is already stored in an insecure way.

This patch also adds this to the Core Update 95 updater.

Fixes: #10966

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
CC: Alexander Marx <alexander.marx@ipfire.org>
---
 config/rootfiles/core/95/filelists/files |  1 +
 html/cgi-bin/ovpnmain.cgi                | 56 +++++++++++++++++++++++++++++---
 langs/de/cgi-bin/de.pl                   |  1 +
 langs/en/cgi-bin/en.pl                   |  1 +
 4 files changed, 55 insertions(+), 4 deletions(-)