Modify the default admin from phpkiadmin to admin for Koozali SME

This commit is contained in:
John Crisp
2020-04-02 12:08:33 +02:00
parent 59ed22d339
commit 33552315f7
2 changed files with 7 additions and 3 deletions

View File

@@ -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. 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 About this fork
=============== ===============
@@ -116,7 +120,7 @@ you specified during setup.
Normal users may only manage the certificates they create. Administrators Normal users may only manage the certificates they create. Administrators
can manage all certificates. The default administrator account is 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 phpkipasswd file when it is first created. Other users can be made
administrators by carefully editing the $PHPki_admins assignment in administrators by carefully editing the $PHPki_admins assignment in
config/config.php under your certificate store directory. config/config.php under your certificate store directory.

View File

@@ -287,7 +287,7 @@ case 'write':
# Define default md # Define default md
\$config['default_md'] = 'sha512'; \$config['default_md'] = 'sha512';
\$PHPki_admins = Array(md5('pkiadmin')); \$PHPki_admins = Array(md5('admin'));
define('OPENSSL',\$config['openssl_bin'].' '); define('OPENSSL',\$config['openssl_bin'].' ');
define('X509', OPENSSL . ' x509 '); define('X509', OPENSSL . ' x509 ');
@@ -655,7 +655,7 @@ EOS;
flush(); flush();
flush_exec($cmd,200); flush_exec($cmd,200);
print "Please ignore warnings about \"unable to write 'random state\' <br><br>"; print "Please ignore warnings about \"unable to write 'random state' <br><br>";
# #
# Create a TLS auth key for OpenVPN if openvpn is installed # Create a TLS auth key for OpenVPN if openvpn is installed