laking
2011-04-02 5c4d55084f8c7cb2bb5ca5f81ecbd82afd1fdd18
install/install.php
@@ -438,6 +438,19 @@
      $inst->configure_firewall();
   }
   
   //** Configure CA
   if(strtolower($inst->simple_query('Should this installation use a local CA to default-sign certificates?',array('y','n'),'n')) == 'y') {
      $conf['CA-enabled'] = true;
      $conf['CA-path'] = $inst->free_query('Path to the CA folder: ', $conf['CA-path']);
      $conf['CA-pass'] = $inst->free_query('Root Certificate Passphrase', '');
      if(!is_file($conf['CA-path'].'/openssl.cnf'))
      {
          swriteln('ERROR. '.$conf['CA-path'].'/openssl.cnf not found.');
          $conf['CA-enabled'] = false;
      }
      //$inst->configure_ca();
   } else {$conf['CA-enabled'] = false;};
   //** Configure ISPConfig :-)
   if(strtolower($inst->simple_query('Install ISPConfig Web Interface',array('y','n'),'y')) == 'y') {
      swriteln('Installing ISPConfig');