Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: IDS-4545: Remove init.d references

...

Code Block
languagetext
cd /usr/local/ubisecure/certap/certap/config/tomcat
./install.sh

If you are on a systemd system, run Run the install_systemd.sh script, this will install the systemd unit file, enable on-boot startup and start the CertAP server:

Code Block
languagetext
cd /usr/local/ubisecure/certap/certap/config/tomcat
./install_systemd.sh

If you are on a SysV system, run the install_initd.sh script and start the CertAP server:

language
Code Block
text
cd /usr/local/ubisecure/certap/certap/config/tomcat
./install_initd.sh
/etc/init.d/certap-server start

Disable and enable startup on system startup

...

The CertAP unit file is generated based on settings in the unix.config file. The unit file is generated from a template every time the setup.sh script is run, so any changes will be replaced at that time. If you need to change the memory settings for CertAP, first change the corresponding values in the unix.config file, then run setup.sh, remove.sh and install_systemd.sh   The settings are, as follows:

unix.configdescription
certap.mem.msInitial Java heap size. Note that you will need to specify a unit for the value (e.g. 128m for 128 MB)
certap.mem.mxMaximum Java heap size. Note that you will need to specify a unit for the value (e.g. 128m for 128 MB)

After updating values as needed, run following commands:

Code Block
languagetext
sudo /usr/local/ubisecure/certap/certap/setup.sh
sudo /usr/local/ubisecure/certap/certap/config/tomcat/remove.sh
sudo /usr/local/ubisecure/certap/certap/config/tomcat/install_initdsystemd.sh

Testing Example CA

Note

This step is done on Windows.

...

The following web page is shown:

Image Modified

Figure 1. Web page indicating the successful installation of Certificate AP