You now edit the server.xml file in the Repository to enable SSL support.
If the Repository is running, then shut down the Repository.
Using a text editor, open the server.xml file in the JavaCAPS-install-dir/repository/repository/server/conf directory.
Within the <Service> element, comment out the first <Connector> element.
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>
|
Save the server.xml file.
Start the Repository.