diff --git a/README.md b/README.md index 7557c49..4975e67 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ I'm sure it is primitive by todays standards but does what I need. I will try and maintain it for the foreseeable future. +Note I have changed the default admin from 'phpkiadmin' to 'admin' for utilisation on KoozaliSME Server. + +You can modify this as required as per the README below. + About this fork =============== @@ -116,7 +120,7 @@ you specified during setup. Normal users may only manage the certificates they create. Administrators can manage all certificates. The default administrator account is -"pkiadmin". The secure.sh script will attempt to add this user to your +"admin". The secure.sh script will attempt to add this user to your phpkipasswd file when it is first created. Other users can be made administrators by carefully editing the $PHPki_admins assignment in config/config.php under your certificate store directory. diff --git a/setup.php-presetup b/setup.php-presetup index 44b26ce..cc0c523 100644 --- a/setup.php-presetup +++ b/setup.php-presetup @@ -287,7 +287,7 @@ case 'write': # Define default md \$config['default_md'] = 'sha512'; -\$PHPki_admins = Array(md5('pkiadmin')); +\$PHPki_admins = Array(md5('admin')); define('OPENSSL',\$config['openssl_bin'].' '); define('X509', OPENSSL . ' x509 '); @@ -655,7 +655,7 @@ EOS; flush(); flush_exec($cmd,200); - print "Please ignore warnings about \"unable to write 'random state\'

"; + print "Please ignore warnings about \"unable to write 'random state'

"; # # Create a TLS auth key for OpenVPN if openvpn is installed