---
title: "Configure the MobilePrint listening port and use a certificate with a name different than the hostname"
slug: "configure-the-mobileprint-listening-port-and-use-a-certificate-with-a-name-different-than-the-hostname"
tags: ["Blueprint", "uniprint"]
updated: 2024-04-09T17:48:26Z
published: 2024-04-09T17:48:26Z
canonical: "kb.pharos.com/configure-the-mobileprint-listening-port-and-use-a-certificate-with-a-name-different-than-the-hostname"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pharos.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Configure the MobilePrint listening port and use a certificate with a name different than the hostname
How do I configure the MobilePrint listening port? Also, can I use a certificate with a common name (CN) that is different than the hostname of the MobilePrint server?
1. First, shutdown the MobilePrint services. There are 5 services. Here is a common shutdown order:
- Pharos Systems MobilePrint Website Service
- Pharos Systems MobilePrint Authenticator Service
- Pharos Systems MobilePrint Worker Service
- Pharos Systems MobilePrint Workflow Service
- Pharos Systems MobilePrint Configurator Service
2. Next, locate the 2 MobilePrint configuration files named "LocalServer.config.xml" and "MobilePrint.Configurator.config.xml". Here are their default locations:
- C:\Program Files (x86)\PharosSystems\MobilePrint\LocalServer.config.xml
- C:\ProgramData\PharosSystems\MobilePrint\MobilePrint.Configurator.config.xml
3. To change the default port number 9001 to 443, edit both configuration files and replace 9001 with 443.
**Example 1: LocalServer.config.xml**
```plaintext
443
C:\ProgramData\PharosSystems\MobilePrint\
;
MY MOBILEPRINT SERVER HOSTNAME
443
Global
```
**Example 2: MobilePrint.Configurator.config.xml**
```plaintext
443
;
DO NOT CHANGE PRINT SERVER HOSTNAME
808
;
MY MOBILEPRINT SERVER HOSTNAME
443
;
MY MOBILEPRINT SERVER HOSTNAME
443
;
MY MOBILEPRINT SERVER HOSTNAME
443
;
MY MOBILEPRINT SERVER HOSTNAME
443
;
MY MOBILEPRINT SERVER HOSTNAME
443
```
4. To change the MobilePrint certificate, edit the configuration file named "LocalServer.config.xml"
5. MobilePrint uses the certificate configured as MY CERTIFICATE THUMBPRINT where MY CERTIFICATE THUMBPRINT is the hexadecimal thumbprint of a certificate in the Windows Certificate Manager (certmgr.mmc) on the MobilePrint server.
```plaintext
false
MY CERTIFICATE THUMBPRINT
```
6. In addition, the certificate's common name (CN) should match the hostname configured as **MY MOBILEPRINT SERVER HOSTNAME** in both " **LocalServer.config.xml**" and " **MobilePrint.Configurator.config.xml**"
- See Example 1 and 2 above.
- The issuer or central authority (CA) who issued (signed) the CN certificate must be stored in the Windows Certificate Manager ( **certmgr.mmc**) as a trusted or root certification authority.
7. Now, start the MobilePrint services. Here is a common start order:
- Pharos Systems MobilePrint Configurator Service
- Pharos Systems MobilePrint Workflow Service
- Pharos Systems MobilePrint Worker Service
- Pharos Systems MobilePrint Authenticator Service
- Pharos Systems MobilePrint Website Service
## Related
- [Blueprint Server Configuration tool fails the Blueprint tracker test with error message "utf/html was returned and utf/xml was expected".](/blueprint-server-configuration-tool-fails-the-blueprint-tracker-test-with-error-message-utfhtml-was-returned-and-utfxml-was-expected.md)
- [Blueprint Server Configuration tool fails the Blueprint tracker test with error message "utf/html was returned and utf/xml was expected"](/blueprint-server-configuration-tool-fails-the-blueprinttracker-test-with-error-message-utfhtml-was-returned-and-utfxml-was-expected.md)
- [Reservation estimated wait times are inaccurate](/reservation-estimated-wait-times-are-inaccurate.md)