Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > Add a Subject Alternative Name (SAN) to an existing certificate

Add a Subject Alternative Name (SAN) to an existing certificate

Table of contents

Updated July 20, 2017

Overview

This article describes how to add a Subject Alternative Name (SAN) to an existing WHD-signed SSL certificate.

Environment

All WHD versions on Windows, Linux, and MAC OS X

Steps

  1. Log in to the WHD server.
  2. Go to whd_install_dir/conf and create a backup of the keystore.jks file.
  3. Open a command prompt window.
  4. Go to the WebHelpDesk folder.
    • Microsoft Windows: C:\Program Files\WebHelpDesk\
    • Linux or Virtual Appliance: /usr/local/webhelpdesk/
    • Mac OS X: /Library/WebHelpDesk/
  5. 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.com

SAN=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 

 

  1. Stop and start the WHD service.

 

Last modified

Tags

Classifications

Public