How do I change my server port numbers?
2 years ago
Originally Published: 2001-07-11
Article Number
000058060
Applies To
Sentry CA 3.7
Keon Certificate Authority
TechNote 0151
Issue
How do I change my server port numbers?
Resolution
Should you wish to change the port numbers for your Enrollment and Administration Servers, this can be done quite simply. The file <install-dir>\WebServer\conf\httpd.conf needs to be updated, and the Administrative and Directory Servers need to be restarted.

The explanation below assumes you have done a default install (ports 443 and 444). If you have used other ports in your original install, those numbers would appear instead.

1. To move the Enrollment Server:

In httpd.conf, in the first section, modify the following line to specify the desired port for the enrollment server.

   # The main server port
   Port 444

Further down in httpd.conf, under the section Sentry/Keon CA Enrollment Server, change the following lines to specify the desired port.

   ### SSL Virtual Host ###
   Listen 444

   <VirtualHost *:444>

2. To move the Admin Server:

In httpd.conf, under the section Sentry/Keon CA Administration Server, change the following lines to specify the desired port.

   ### SSL Virtual Host ###
   Listen 443

   <VirtualHost *:443>

3. Restarting the Servers:

Under services, stop the Sentry CA Administrative and Secure Directory Servers (in that order). Then restart them, Secure Directory first.

Note: You can change one of the servers without changing the other.