Changeset 14406


Ignorieren:
Zeitstempel:
08.09.2017 15:26:36 (vor 2 Wochen)
Autor:
er13
Nachricht:

stunnel:

Ort:
trunk/make/stunnel/files/root
Dateien:
4 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/stunnel/files/root/etc/default.stunnel/stunnel.cfg

    r12294 r14406  
    22export STUNNEL_SSLOPTIONS="ALL" 
    33export STUNNEL_VERBOSE="warning" 
     4export STUNNEL_USE_BOX_CERT="no" 
  • trunk/make/stunnel/files/root/etc/default.stunnel/stunnel_conf

    r12294 r14406  
    88client = yes 
    99 
    10 cert = /tmp/flash/stunnel/certs.pem 
    11 key = /tmp/flash/stunnel/key.pem 
    12  
    1310RNDbytes = 1024 
    1411RNDfile = /var/tmp/.stunnel_rnd 
     
    1714socket = a:TCP_NODELAY=1 
    1815EOF 
     16 
     17if [ "$STUNNEL_USE_BOX_CERT" = "yes" ]; then 
     18    echo "cert = /var/flash/websrv_ssl_cert.pem" 
     19    echo "key = /var/flash/websrv_ssl_key.pem" 
     20else 
     21    echo "cert = /tmp/flash/stunnel/certs.pem" 
     22    echo "key = /tmp/flash/stunnel/key.pem" 
     23fi 
    1924 
    2025if [ ! -z "$STUNNEL_SSLOPTIONS" ]; then 
  • trunk/make/stunnel/files/root/etc/init.d/rc.stunnel

    r12295 r14406  
    2020        modreg daemon $DAEMON 
    2121        modreg file stunnel svcs 'services' 0 "stunnel_svcs" 
    22         modreg file stunnel key 'Private Key' 0 "stunnel_key" 
    23         modreg file stunnel certchain 'Certificate Chain' 0 "stunnel_certchain" 
     22        modreg file stunnel key 'Own Private Key' 0 "stunnel_key" 
     23        modreg file stunnel certchain 'Own Certificate Chain' 0 "stunnel_certchain" 
    2424 
    2525        modlib_start $STUNNEL_ENABLED 
  • trunk/make/stunnel/files/root/usr/lib/cgi-bin/stunnel.cgi

    r12167 r14406  
    1414 
    1515sec_begin '$(lang de:"Konfiguration" en:"Configuration")' 
     16 
     17cgi_print_radiogroup \ 
     18    "use_box_cert" "$STUNNEL_USE_BOX_CERT" "" "$(lang de:"Standard-Zertifikat für Server-Dienste" en:"Default certificate for non-client services"): " \ 
     19        "yes::$(lang de:"Geräte-Zertifikat verwenden" en:"use device certificate")" \ 
     20        "no::$(lang de:"Eigenes Zertifikat verwenden" en:"use own certificate")" 
    1621 
    1722cat << EOF 
     
    3742<ul> 
    3843<li><a href="$(href file stunnel svcs)">$(lang de:"Dienste bearbeiten" en:"Edit services file")</a></li> 
    39 <li><a href="$(href file stunnel certchain)">$(lang de:"Zertifikats-Kette bearbeiten" en:"Edit certificate chain")</a></li> 
    40 <li><a href="$(href file stunnel key)">$(lang de:"Privaten Schl&uuml;ssel bearbeiten" en:"Edit private key")</a></li> 
     44<li><a href="$(href file stunnel certchain)">$(lang de:"Eigene Zertifikatskette bearbeiten" en:"Edit own certificate chain")</a></li> 
     45<li><a href="$(href file stunnel key)">$(lang de:"Eigenen privaten Schl&uuml;ssel bearbeiten" en:"Edit own private key")</a></li> 
    4146</ul> 
    4247EOF 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.