From 4ac09def4160c485483bf5f62e8c48c7489fc5eb Mon Sep 17 00:00:00 2001 From: Eirik Oeverby Date: Tue, 10 Mar 2009 20:05:30 +0100 Subject: Added certificate management Major change which allows assigning certificates to tunnels. Certificates are managed on a separate tab, but they must be manually generated on another system and pasted in along with RSA keys. Certificate status display lists status including days until expiry. --- config/stunnel/stunnel_certs.xml | 147 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 config/stunnel/stunnel_certs.xml (limited to 'config/stunnel/stunnel_certs.xml') diff --git a/config/stunnel/stunnel_certs.xml b/config/stunnel/stunnel_certs.xml new file mode 100644 index 00000000..3d7cc3fa --- /dev/null +++ b/config/stunnel/stunnel_certs.xml @@ -0,0 +1,147 @@ + + + + + + + + Stunnel certificates + Describe your package requirements here + Currently there are no FAQ items provided. + stunnelcerts + 4.18 + Services: Secure Tunnel - Certificates + + ['installedpackages']['package']['$packagename']['configuration'] + + + + Tunnels + /pkg.php?xml=stunnel.xml + + + Certificates + /pkg.php?xml=stunnel_certs.xml + + + + + + + + Description + description + + + Subject + subject + + + + Status + status + + + + + + + Description + description + Enter a (short) description for this certificate + input + + + Certificate filename + filename + File name of certificate (read-only; updated on save). Extensions (.pem, .chain, .key) are added automatically. + input + + + Certificate subject + subject + Certificate subject (read-only; updated on save) + input + 50 + + + Certificate valid until + expiry + The certificate will expire on this date, and will no longer work. + input + + + RSA private key + cert_key + RSA private key used for certificate. Do not change for existing certificates!<br> + <b>Leave blank to automatically create key and certificate signing request on save.</b> + textarea + 7 + 65 + + + Certificate chain + cert_chain + Full certificate chain; root certificate on top, then any intermediates, server certificate at the end.<br> + <b>Full chain required for private or EV certificates!</b> + textarea + 7 + 65 + + + + /usr/local/pkg/stunnel.inc + + stunnel_save_cert($config); + stunnel_save($config); + + + stunnel_printcsr(); + + + stunnel_disablefields(); + + + stunnel_delete($config); + + + -- cgit v1.2.3