Setting the default port number for OpenXPKI CA

By default, Apache listens in port number 80. Set the default port number for OpenXPKI CA to avoid conflicts.

  1. In /etc/apache2/ports.conf, add or modify a port. For example, Listen 8080.
  2. In /etc/apache2/sites-enabled/000-default.conf, add or modify the VirtualHost section to map new port. For example, <VirtualHost *:8080>.
  3. Restart the Apache server using systemctl restart apache2.

To check the status, run netstat -tlpn| grep apache. The OpenXPKI SCEP URL is now http://ipaddress:8080/scep/ca-one, and the web URL is http://ip address:8080/openxpki.