Skip to content

Commit b637641

Browse files
author
laking
committed
Update on certificte CA-signing. Moved config to control panel.
1 parent 47e2cbd commit b637641

14 files changed

+3
-63
lines changed

install/dist/conf/centos52.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,4 @@
186186
$conf['cron']['crontab_dir'] = '/etc/cron.d';
187187
$conf['cron']['wget'] = '/usr/bin/wget';
188188

189-
$conf['CA-path'] = '/etc/pki/CA';
190-
191189
?>

install/dist/conf/centos53.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,4 @@
186186
$conf['cron']['crontab_dir'] = '/etc/cron.d';
187187
$conf['cron']['wget'] = '/usr/bin/wget';
188188

189-
$conf['CA-path'] = '/etc/pki/CA';
190-
191189
?>

install/dist/conf/debian40.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,5 @@
191191
$conf['cron']['crontab_dir'] = '/etc/cron.d';
192192
$conf['cron']['wget'] = '/usr/bin/wget';
193193

194-
$conf['CA-path'] = '/etc/ssl';
195-
196194

197195
?>

install/dist/conf/debian60.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,5 @@
191191
$conf['cron']['crontab_dir'] = '/etc/cron.d';
192192
$conf['cron']['wget'] = '/usr/bin/wget';
193193

194-
$conf['CA-path'] = '/etc/ssl';
195-
196194

197195
?>

install/dist/conf/fedora9.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,4 @@
186186
$conf['cron']['crontab_dir'] = '/etc/cron.d';
187187
$conf['cron']['wget'] = '/usr/bin/wget';
188188

189-
$conf['CA-path'] = '/etc/pki/CA';
190-
191189
?>

install/dist/conf/gentoo.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,4 @@
203203
$conf['cron']['group'] = 'cron';
204204
$conf['cron']['wget'] = '/usr/bin/wget';
205205

206-
$conf['CA-path'] = '/etc/ssl';
207-
208206
?>

install/dist/conf/opensuse110.conf.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@
184184
//* cron
185185
$conf['cron']['init_script'] = 'cron';
186186
$conf['cron']['crontab_dir'] = '/etc/cron.d';
187-
$conf['cron']['wget'] = '/usr/bin/wget';
188-
189-
$conf['CA-path'] = '/etc/ssl';
187+
$conf['cron']['wget'] = '/usr/bin/wget';;
190188

191189
?>

install/dist/conf/opensuse112.conf.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,4 @@
186186
$conf['cron']['crontab_dir'] = '/etc/cron.d';
187187
$conf['cron']['wget'] = '/usr/bin/wget';
188188

189-
$conf['CA-path'] = '/etc/ssl';
190-
191189
?>

install/dist/lib/fedora.lib.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -690,10 +690,6 @@ public function install_ispconfig()
690690
$content = str_replace('{ispconfig_log_priority}', $conf['ispconfig_log_priority'], $content);
691691
$content = str_replace('{language}', $conf['language'], $content);
692692

693-
if (!$conf['CA-enabled']) $content = str_replace('$conf[\'CA', '//$conf[\'CA', $content);
694-
$content = str_replace('{CA-path}', $conf['CA-path'], $content);
695-
$content = str_replace('{CA-pass}', $conf['CA-pass'], $content);
696-
697693
wf("$install_dir/server/lib/$configfile", $content);
698694

699695
//* Create the config file for remote-actions (but only, if it does not exist, because

install/dist/lib/gentoo.lib.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,6 @@ public function install_ispconfig()
660660

661661
$this->write_config_file("$install_dir/interface/lib/$configfile", $content);
662662

663-
if(!$conf['CA-enabled']) $content = str_replace('$conf[\'CA','//$conf[\'CA', $content);
664-
$content = str_replace('{CA-path}', $conf['CA-path'], $content);
665-
$content = str_replace('{CA-pass}', $conf['CA-pass'], $content);
666-
667663
//* Create the config file for ISPConfig server
668664
$this->write_config_file("$install_dir/server/lib/$configfile", $content);
669665

0 commit comments

Comments
 (0)