Configuring Java CAPS for SSL Support

ProcedureTo Configure the server.xml File

  1. If the Repository is running, then shut down the Repository.

  2. Using a text editor, open the server.xml file in the JavaCAPS-install-dir/repository/repository/server/conf directory.

  3. Within the <Service> element, comment out the first <Connector> element.

  4. Comment in the second <Connector> element.


    <!--  Define an SSL Coyote HTTP/1.1 Connector on port 8443  -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
        port="8443" minProcessors="5" maxProcessors="75"
        enableLookups="true"
        acceptCount="100" debug="0" scheme="https" secure="true"
        useURIValidationHack="false" disableUploadTimeout="true">
    <Factory
        className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
        clientAuth="false" protocol="TLS"
        keystoreFile="sbyn.keystore" keystorePass="changeit" />
    </Connector>
  5. Save the server.xml file.

  6. Start the Repository.