-
Update the apt repository.
|
›_ Console |
|---|
|
Update apt repository
-
Add openxpki package signing key.
|
›_ Console |
|---|
|
Add signing key
-
Add the openxpki repository to your source list and update.
|
›_ Console |
|---|
|
Add openxpki repository
-
Install mariadb-server and libdbd-mariadb-perl.
|
›_ Console |
|---|
|
MariaDB installation
MariaDB installation
-
Install apache2 and fastcgi module.
|
›_ Console |
|---|
|
Apache2 installation
Apache2 installation
-
Enable fcgid module.
|
›_ Console |
|---|
|
Enable fcgid
Fastcgi module should be enabled explicitly, otherwise, the .fcgi file will be treated as plain text (this is usually done by the installer already):
-
Install the OpenXPKI core package, session driver and translation package.
|
›_ Console |
|---|
|
OpenXPKI installation
OpenXPKI installation
-
Use the openxpkiadm command to verify if the openxpki was installed correctly.
|
›_ Console |
|---|
|
OpenXPKI version
-
Create an empty database and assign a database user.
|
›_ Console |
|---|
|
Database creation
-
Enter the above database credentials into
/etc/openxpki/config.d/system/database.yamlfile as shown below.
|
database.yaml |
|---|
|
Database credentials
For OpenXPKI version 3.26.1 you need to replace type value MariaDB to MariabDB2 in database.yaml file.
-
Create the empty database schema from the provided schema file
/usr/share/doc/libopenxpki-perl/examples/schema-mariadb.sql.
|
›_ Console |
|---|
|
Create database schema
Enter the database user password when prompted.
-
Update
/etc/apache2/ports.confwith any http port.
|
ports.conf |
|---|
|
-
Update
/etc/apache2/sites-enabled/openxpki.confwith below entries.
|
openxpki.conf |
|---|
|
It is highly recommended to run OpenXPKI Web UI on HTTPS. If you want OpenXPKI Web UI to run over HTTPS, then you can modify the above file with SSL settings. You can generate SSL keys on Utimaco HSM and integrate it by downloading and following the Apache Integration guide with Utimaco HSM from the support portal.
14. Reload and restart apche2 service.
|
›_ Console |
|---|
|
Reload and restart apache2 service