Changes

From SME Server
Jump to navigationJump to search
18 bytes added ,  17:54, 16 March 2009
Line 65: Line 65:     
{{Warning box|Of course, take some time to read this script before runing it as root.}}
 
{{Warning box|Of course, take some time to read this script before runing it as root.}}
 +
    
  #!/bin/bash
 
  #!/bin/bash
Line 160: Line 161:  
                         -e "s/config\['country'\].*/config\['country'\] = '$COUNTRY';/" \
 
                         -e "s/config\['country'\].*/config\['country'\] = '$COUNTRY';/" \
 
                         -e "s/config\['common_name'\].*/config\['common_name'\] = '$CACN';/" \
 
                         -e "s/config\['common_name'\].*/config\['common_name'\] = '$CACN';/" \
                         -e "s/config\['ca_pwd'\].*/config\['ca_pwd'\] = '';/" \
+
                         -e "s/config\['ca_pwd'\].*/config\['ca_pwd'\] = <nowiki>''</nowiki>;/" \
 
                         -e "s/config\['keysize'\].*/config\['keysize'\] = '$KEYSIZE';/" \
 
                         -e "s/config\['keysize'\].*/config\['keysize'\] = '$KEYSIZE';/" \
 
                         /opt/phpki/phpki-store/config/config.php.$TIME \
 
                         /opt/phpki/phpki-store/config/config.php.$TIME \

Navigation menu