About
The portal requires the use of SSL. In order to set up your development environment to use SSL, you'll need to generate a SSL certificate.
Generating a self signed SSL certificate for https
JAVA_HOME refers to the location of where Java is installed, usually C:\Program Files\Java\jdk1.6.0\ on Windows and /usr/lib/jvm/java-6-sun on Ubuntu Linux. Default keystore password is: changeit
From a command line, do the following
JAVA_HOME\bin\keytool -delete -alias tomcat
JAVA_HOME\bin\keytool -genkey -alias tomcat -keyalg RSA
JAVA_HOME\bin\keytool -export -alias tomcat -file server.crt
JAVA_HOME\bin\keytool -import -file server.crt -keystore JAVA_HOME/jre/lib/security/cacerts
You need to answer the dialogue questions using the host name as the cn. For example:
What is your first and last name? [Unknown]: tpappsrv.its.yale.edu What is the name of your organizational unit? [Unknown]: Yale University What is the name of your organization? [Unknown]: ITS What is the name of your City or Locality? [Unknown]: New Haven What is the name of your State or Province? [Unknown]: CT What is the two-letter country code for this unit? [Unknown]: us Is CN=tpappsrv.its.yale.edu, OU=Yale University, O=ITS, L=New Haven, ST=CT, C=us correct? [no]: yes
Labels
(None)