HTTPS
You would need to setup your Web Container to server HTTPS requests.
Create a test certificate
I. Generating your key pair
 | Be Careful
When keytool will ask you to enter your First and Last name, you have to enter the network machine name (ex: myserver) or the domain name of your server (ex: www.myserver.com) where resides the your web container. |
II. Generating a self signed certificate
III. Importing the certificate to a Certificate Authority store
You have two solutions :
The certificate must be imported in the Java Virtual Machine used by tomcat.
Supposing your tomcat JVM location is C:\Program Files\Java\jdk1.6.0_02\
 | Default Cacerts password
The default java Cacerts keystore password is "changeit" |
- Creating a standalone 'cacerts'
Adding SSL support for Tomcat with the test certificate
Uncomments the definition of the SSL HTTP/1.0 Connector and specify attribute keystoreFile and keystorePass :
Start tomcat and using your internet browser, navigate to https://www.myserver.com:8443
. You should be alerted to accept the certificate.
- If you are using Firefox, you should see :
Hint : Select
Accept this certificate permanently and click
ok
- If you are using Internet Explorer, you should see :
Hint : Click on
Continue to this web site (not recommended)
Hint : Click on
Certificate Error
Hint : Click on
View Certificates
Hint : Click on
Install Certificate , follow the instructions and restart Internet Explorer when done
Runner Configuration
Java Runner
You would need to tell your runner the location of the trustStore and the password on the command line (Optional if you imported the certificate in the JVM)
.Net Runner
You only need to accept the certificate when navigating to https://www.myserver.com:8443
using Internet Explorer.
Troubleshooting : if for some reason the .Net runner doesn't work, try C# example from Using Trusted Roots Respectfully
. You may need to recompile your the GreenPepper - Open .Net binaries from source
.
Confluence / Jira Repository Update
From Confluence / Jira, make sure the base url is using https on port 8443 (goto Adminstration / General Configuration).
- For each Confluence Space's Registration repository, click edit and update (without changing anything, the repository url will be updated using the actual base url)
- For each Jira Project Registration repository, click edit and update
Using the Eclipse Plugin
If you are using the Eclipse Plugin
, you would need to perform the following steps :
- Add information about the truststore and password to the eclipse.ini (Optional if you imported the certificate in the JVM)
- Change the Server's context path
to use https on port 8443
Using the Visual Studio Plugin
You only need to accept the certificate when navigating to https://www.myserver.com:8443
using Internet Explorer.