- Created by Martin Moghadam, last modified on Dec 05, 2019
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 17 Next »
This is depricate in version 7.6 See New SSL Install
If you configure the PerformanceGuard web interface to use HTTPS connections, the web interface is by default installed with a self-signed server certificate. Communication between web browsers and the web interface will be encrypted with SSL, but browsers will complain that the certificate isn't trusted. To resolve this security issue, you must install your own server certificate that's signed by a trusted authority (such as VeriSign or Symantec).
You'll need a file that contains your server certificate, any intermediate certificates and the private key. Often, the private key isn't part of the file delivered by your certificate authority. Instead, you may receive a file in the PKCS#7/P7B format. You must then yourself export the private key and certificates into a keystore in a format like PKCS#12/PFX, PEM or DER.
The following is an example of importing a PKCS12 keystore into PerformanceGuard. The PKCS#12 or PFX format is a binary format for storing the server certificate, any intermediate certificates and the private key in one encryptable file. PFX files usually have extensions such as .pfx and .p12. PFX files are typically used on Windows computers to import and export certificates and private keys. PFX files are password-protected, and you need the password to install the certificate file.
- Add the my_certificate.pfx to display folder of \[PerformanceGuard installation folder]\display:
- Edit \[PerformanceGuard installation folder]\display\conf\performanceguard.xml and change the values of the following parameters:
port: Change Value to a port of your choosing e.g. 8443
You must not use 443 as this is reserved for Display2.
- secure: Change value to true
- keyStorePath: Configure path to keyStorePath i.e. <Parameter name="keyStorePath" override="false" value="mykeystore.p12"/>
- keyStorePassword: Add password to keyStorePassword i.e. <Parameter name="keyStorePassword" override="false" value="$m3llycat"/>
- Add a keystore mykeystore.p12 to display2 folder of \[PerformanceGuard installation folder]\display2.
Open \PerformanceGuard installation folder\display2\display2.yml and overwrite the # Server Settings section with the following:
# Server Settings server: rootPath: '/api/*' applicationContextPath: / applicationConnectors: - type: https port: 443 maxRequestHeaderSize: 64KiB maxResponseHeaderSize: 64KiB keyStorePath: 'mykeystore.p12' keyStorePassword: '$m3llycat' validateCerts: false
Then move down to the # Old Display Settings section and change the value of the following parameter:
- hostPort: Change to the port that you set in step 2 (e.g. 8443)
- hostSecure: Change value to true
# Old Display Settings classic: hostPort: '8443' hostSecure: 'true'
It is not supported nor it is recommended to run one display service as http and the other as https as it will create issues with the browsers because of the mixed content.
Please ensure to keep the syntax of .XML and .YML correct and valid. We recommend to use a text editor such as Microsoft Visual Studio Code that notifies the user if the syntax is incorrect.
Open \PerformanceGuard installation folder\notification\conf\config.properties and change the following parameters:
displaySsl=true displayPort=8443 (or which ever port you have used above)
- Save the files that you have edited and then restart the PerformanceGuard Web Server and PerformanceGuard Web Server 2 services.
It is recommended to use proper signed certificates and only access PG using the fully qualified domain name e.g. https://performanceguard.capasystems.com not https://performanceguard or https://127.0.0.1.
New SSL Install
New install option from version 7.6
If you configure the PerformanceGuard web interface to use HTTPS connections, the web interface is by default installed with a self-signed server certificate. Communication between web browsers and the web interface will be encrypted with SSL, but browsers will complain that the certificate isn't trusted. To resolve this security issue, you must install your own server certificate that's signed by a trusted authority (such as VeriSign or Symantec).
You'll need a file that contains your server certificate, any intermediate certificates and the private key. Often, the private key isn't part of the file delivered by your certificate authority. Instead, you may receive a file in the PKCS#7/P7B format. You must then yourself export the private key and certificates into a keystore in a format like PKCS#12/PFX, PEM or DER.
The following is an example of importing a PKCS12 keystore into PerformanceGuard. The PKCS#12 or PFX format is a binary format for storing the server certificate, any intermediate certificates and the private key in one encryptable file. PFX files usually have extensions such as .pfx and .p12. PFX files are typically used on Windows computers to import and export certificates and private keys. PFX files are password-protected, and you need the password to install the certificate file.
During installation check the Use SSL checkbox.
Primary Web Server Port: Change Value to a port of your choosing e.g. 443
- Secondary Web Server Port: Change Value to a port of your choosing e.g. 8443
- Use SSL: Check the box
- Certificate File Path: The path the the certificate file on local machine
- Certificate Password: Password of the certificate file
It is recommended to use proper signed certificates and only access PG using the fully qualified domain name e.g. https://performanceguard.capasystems.com not https://performanceguard or https://127.0.0.1.
Search this documentation
On this page
In this section
- No labels