Configuring Java CAPS for SSL Support

Configuring the server.xml File

You now edit the server.xml file in the Repository to enable 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"
        acceptCount="100" debug="0" scheme="https" secure="true"
        useURIValidationHack="false" disableUploadTimeout="true">
        clientAuth="false" protocol="TLS"
        keystoreFile="sbyn.keystore" keystorePass="changeit" />
  5. Save the server.xml file.

  6. Start the Repository.