After setting up the project build in TeamCity (on MS Winows), I wanted to allow access from the browser.  This is done over https and requires tomcat to be configured.  This is simple but the documentation is confusing.

1. Create a certificate using the keytool command.

%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA

The passphrase for the certificate and the containde should be the same due to a TomCat limitation.

2 Add the followng section to the server.xml file located in C:\TeamCity\conf

	<Connector
           port="8443" maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="${user.home}/.keystore" keystorePass="[password]"
           clientAuth="false" sslProtocol="TLS"/>

You can test the configuration by browsing to https://localhost:8443 from the teamcity server.