Tools
Add a Subject Alternative Name (SAN) to an existing certificate
This article describes how to add a Subject Alternative Name (SAN) to an existing WHD-signed SSL certificate.
First published date
Last published date
Overview
Product section
Resolution
- Log in to the WHD server.
- Go to
whd_install_dir/confand create a backup of thekeystore.jksfile. - Open a command prompt window.
- Go to the WebHelpDesk folder.
- Microsoft Windows:
C:\Program Files\WebHelpDesk\ - Linux or Virtual Appliance:
/usr/local/webhelpdesk/ - Mac OS X:
/Library/WebHelpDesk/
- Microsoft Windows:
- Enter the following command:
/bin/jre/bin/keytool -genkey -keystore WHD_INSTALL_DIR/conf/keystore.jks -alias tomcat -ext SAN=dns:DOMAIN_NAME -keyalg RSA -dname "CN=DOMAIN_NAME, OU=Organizational unit, O=Organization, L=City or locality, ST=State or province, C=Two-letter country code" -keypass KEYSTORE_PASSWORD -storepass KEYSTORE_PASSWORD -validity daysvalid -sigalg SHA256withRSA
-
as an example for Windows with the following:DOMAIN_NAME=domain.comSAN=webhelpdesk.domain.com
CN=wehelpdesk.domain.com
OU=IT
O= IT Services
L=Tampa
ST=Florida
C=US
KEYSTORE_PASSWORD=changeit
daysvalid=365
"C:\Program Files\WebHelpDesk\bin\jre\bin\keytool" -genkey -keystore "C:\Program Files\WebHelpDesk\conf\keystore.jks" -alias tomcat -ext SAN=dns:webhelpdesk.domain.com -keyalg RSA -dname "CN=webhelpdesk.domain.com, OU=IT, O=Tampa Org, L=Tampa, ST=Florida, C=US" -keypass changeit -storepass changeit -validity 365 -sigalg SHA256withRSA
- Stop and start the WHD service.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.