Snow Commander installs a default self-signed SSL certificate on the Apache Tomcat web server during setup. This certificate is not verified by a certificate authority (CA), prompting users to decide whether to trust it.
To provide a secure, trusted connection, you can remove the default certificate and install a CA-signed certificate. This article details the complete process, including generating a new certificate and installing the CA-signed file.
These instructions are not designed for existing certificates or wildcard certificates. Do not skip any steps, even if you already have a certificate, as doing so can cause mismatched information between the web server and the encrypted certificate. Direct modifications to the keystore or the server.xml file to bypass this process are not supported by Flexera.
Remove the default self-signed certificate
- Take a snapshot of the Commander app server before making changes.
- Open a command prompt on the Commander server and browse to:
<INSTALL DIRECTORY>\Embotics\vCommander\jre\bin - Delete the existing certificate using:
keytool -delete -alias tomcat -keystore "C:\Program Files\Embotics\vCommander\tomcat\conf\keystore" -storepass changeit- Enclose paths with spaces in quotes.
- If the Commander service was stopped before deletion, do not restart until a new certificate is installed.
Generate a new self-signed certificate
- In the same directory, run:
keytool -genkey -alias tomcat -keyalg RSA -keysize 2048 -sigalg SHA256withRSA -validity 3650 -keystore "C:\Program Files\Embotics\vCommander\tomcat\conf\keystore" -storepass changeit - Enter the required details when prompted:
- First and Last Name: Fully qualified domain name (FQDN) of the server.
- Organizational Unit: Department name.
- Organization: Organization name.
- City, State, Country Code as appropriate. (List of country codes)
- For Key Password, press ENTER to leave blank as recommended.
- Restart the vCommander service if stopped earlier.
Create a certificate signing request (CSR)
- Issue the following command:
keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr -keystore "C:\Program Files\Embotics\vCommander\tomcat\conf\keystore" -ext san=dns:fqdn.yourvcommander.com,ip:xxx.xxx.xxx.xxx -storepass changeit- Include at least one Subject Alternative Name (SAN) for compatibility with modern browsers.
- Provide the CSR file created in your working directory to your chosen certificate authority via their portal or email. Ensure the CA uses SHA-2 or better encryption.
Note: Some certificate authorities may retain a copy of your CSR to simplify certificate renewals without requiring you to generate a new request. In certain cases, they may also permit reuse of the original CSR for renewals, provided there are no significant changes to the server’s identity or naming details.
Import CA-signed certificates
- Save the CA-provided
.crtfile to the same directory used above. - Run:
keytool -import -trustcacerts -alias tomcat -file yourfile.crt -keystore ..\..\tomcat\conf\keystore -storepass changeit - If intermediate certificates are required, install them first as per CA instructions.
- Look for the message
Certificate reply was installed in keystore. Restart the vCommander service.
Important
If you encounter java.io.EOFException, ensure the certificate file has no trailing spaces or extra characters, then retry.
Outcome
After completing these steps, Snow Commander will use a CA-signed certificate, eliminating browser trust warnings for users.
Related Articles
Video: Update the SSL Certificate for Snow Inventory Server 315Number of Views Creating an SSL certificate for Snow Commander using Let's Encrypt and DNS validation 17Number of Views Generate and install an SSL certificate for the VM Access Proxy 17Number of Views How do I create an SSL Certificate for my web server? 16Number of Views Operations Manager: How To renew an SSL certificate for Spider Operations Manager (v 4.7.x) 9Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago