Update the MOVEit Automation Web Admin SSL Certificate
- Last Updated: January 26, 2022
- 3 minute read
- MOVEit Automation
- Version 2022
- Documentation
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.
Prerequisites
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?
Import the Certificate into the Tomcat service
- Save the
pfxor.p12in the\Tomcat\certsfolder in the of the folder where MOVEit Automation is installed. For example,C:\Program Files\MOVEit\MOVEit Automation Web Admin\Tomcat\certs - To convert the
pfxor.p12cert to a.pemfile- Open the command prompt and navigate to
\Tomcat\binfolder. - Run the following command
openssl pkcs12 -in ..\certs\cert.pfx -out ..\certs\serverchain.pemThe <cert>.pem file is created in the
\Tomcat\certsfolder
- Open the command prompt and navigate to
- Ignore the config file warning.
- Enter the Import Password for the certificate. This is the password that was specified when the certificate was exported.
- When prompted enter a password to protect the private key in the output .
pemfile. Do not use the<or > characters. - Open the
serverchain.pemfile in an XML editor. - Cut and paste the private key from the
serverchain.pemfile to a new file namedserverkey.pemin the same folder.The
serverkey.pemfile example:Bag AttributesMicrosoft Local Key set: <No Values>localKeyID: 01 00 00 00friendlyName: certnameMicrosoft CSP Name: Microsoft Base Cryptographic Provider v1.0Key AttributesX509v3 Key Usage: 10-----BEGIN ENCRYPTED PRIVATE KEY-----MIICxjBABgkqhkiG9w0BBQ...[more random characters here]-----END ENCRYPTED PRIVATE KEY----- - Cut and paste the first certificate from the
serverchain.pemfile to a new file namedservercert.pemin the same folder.The
serverkey.pemfile example:Bag AttributeslocalKeyID: 01 00 00 001.3.6.1.4.1.311.17.3.92: 00 04 00 001.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 E5subject=/CN=testissuer=/CN=org-----BEGIN CERTIFICATE-----MIIBlTCB/6ADAgECAgRSKEl3MA0GCSqGSIb3DQEBBQUAMBAxDjAMBgNVBAMTBXRob3JnMB4XDTEzMDkwNTA5MDU1OVoXDTE0MDkwNTA5MDU1OVowDzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAlee0L6SVSEvE2IzZisnrByUUEDkWaPK5d+OV93LdR1evp7GrCSyAi6CItJd01W7/PU1gOFwTxOBncu+jDkHsM2VgV16RRald2eW0/UyCAvbWy9mgI6Z3R6ffV11OiQyAZM6xTXhGmvJxCoUoMp3GmTNEU+0+6VNsCBAD1+MYIKUCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBLZIfPbg6TEj8CZZ3BJl2aDCUym90kF6WIdEPpqHK0e76SPPgMEGJas3sY4cIQvBxPxG7epWAtd/OGGNz/4WRN9vzhU26Md3uNHRl2QfykGyetSZj48RkG/4wy1GueIAKcYgtfUjNoylXgj+8jM4AGfesetIcOkz3U/X1hDHfQzg==-----END CERTIFICATE----- - There are two remaining certificates. Cut and paste the second certificate from the
serverchain.pemfile to above the first certificate. Cut and paste starting with theBag Attributesand 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. - Open the
Tomcat\conf\server.xmlfile in a text editor.Note: To open theserver.xmlfile, open the text editor as an administrator and then open theserver.xmlfile in the text editor.- Ensure that the connector paths are correct, for example,
SSLCertificateFile=
"${catalina.home}\certs\servercert.pem"SSLCertificateKeyFile=
"${catalina.home}\certs\serverkey.pem"SSLCertificateChainFile=
"${catalina.home}\certs\serverchain.pem" - If this is the first time that a certificate is imported, you may need to add the following line:
SSLCertificateChainFile=
"${catalina.home}\certs\serverchain.pem" - Edit the SSLPassword to match the password set in Step 5.
- Ensure that the connector paths are correct, for example,
- Restart MOVEit Automation Web Admin using Windows Services.
- To test that the certificate was imported into the Tomcat service, use an SSL checker, for example
www.digicert.com/help.