For use in production environments, you should install a certificate from a trusted certificate authority.
The trusted certificate for the Web Admin Server can be installed during installation or manually imported into Tomcat after installation.
For information about configuring Apache Tomcat with SSL/TLS see, https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html
To import the certificate into Tomcat, complete the following procedure.
You must have a pfx
or .p12
file that contains the public certificate, its private key, and the intermediate certificates in the Certificate path. For information about exporting a server certificate from the Windows Certificate Store, see How do I Import and Export Server SSL Certificates?
pfx
or .p12
in the \Tomcat\certs
folder in the of the folder where MOVEit Automation is installed. For example, C:\Program Files\MOVEit\MOVEit Automation Web Admin\Tomcat\certs
pfx
or .p12
cert to a .pem
file\Tomcat\bin
folder.openssl pkcs12 -in ..\certs\cert.pfx -out ..\certs\serverchain.pem
The <cert>.pem file is created in the \Tomcat\certs
folder
pem
file. Do not use the <
or > characters.serverchain.pem
file in an XML editor.serverchain.pem
file to a new file named serverkey.pem
in the same folder.The serverkey.pem
file example:
Bag Attributes
Microsoft Local Key set: <No Values>
localKeyID: 01 00 00 00
friendlyName: certname
Microsoft CSP Name: Microsoft Base Cryptographic Provider v1.0
Key Attributes
X509v3 Key Usage: 10
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIICxjBABgkqhkiG9w0BBQ...
[more random characters here]
-----END ENCRYPTED PRIVATE KEY-----
serverchain.pem
file to a new file named servercert.pem
in the same folder.The serverkey.pem
file example:
Bag Attributes
localKeyID: 01 00 00 00
1.3.6.1.4.1.311.17.3.92: 00 04 00 00
1.3.6.1.4.1.311.17.3.20: 84 50 57 C7 D4 6F 0E D8 5E 01 D9 8B DE AA BE 41 66 BD 6C E5
subject=/CN=test
issuer=/CN=org
-----BEGIN CERTIFICATE-----
MIIBlTCB/6ADAgECAgRSKEl3MA0GCSqGSIb3DQEBBQUAMBAxDjAMBgNVBAMTBXRo
b3JnMB4XDTEzMDkwNTA5MDU1OVoXDTE0MDkwNTA5MDU1OVowDzENMAsGA1UEAxME
dGVzdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAlee0L6SVSEvE2IzZisnr
ByUUEDkWaPK5d+OV93LdR1evp7GrCSyAi6CItJd01W7/PU1gOFwTxOBncu+jDkHs
M2VgV16RRald2eW0/UyCAvbWy9mgI6Z3R6ffV11OiQyAZM6xTXhGmvJxCoUoMp3G
mTNEU+0+6VNsCBAD1+MYIKUCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBLZIfPbg6T
Ej8CZZ3BJl2aDCUym90kF6WIdEPpqHK0e76SPPgMEGJas3sY4cIQvBxPxG7epWAt
d/OGGNz/4WRN9vzhU26Md3uNHRl2QfykGyetSZj48RkG/4wy1GueIAKcYgtfUjNo
ylXgj+8jM4AGfesetIcOkz3U/X1hDHfQzg==
-----END CERTIFICATE-----
serverchain.pem
file to above the first certificate. Cut and paste starting with the Bag Attributes
and including the -----END CERTIFICATE----
Note: If there are more than two certificates remaining, run the SSL checker against the main SSL certificate to get a list of the correct certificates and remove the one that is not required.
Tomcat\conf\server.xml
file in a text editor. Note: To open the server.xml
file, open the text editor as an administrator and then open the server.xml
file in the text editor.
SSLCertificateFile="${catalina.home}\certs\servercert.pem
"
SSLCertificateKeyFile="${catalina.home}\certs\serverkey.pem
"
SSLCertificateChainFile="${catalina.home}\certs\serverchain.pem
"
SSLCertificateChainFile="${catalina.home}\certs\serverchain.pem
"