Chapter 6. Online Certificate Status Protocol Responder
7. Move up to the main web application directory. For example:
cd /var/lib/rhpki-ocsp/webapps/
8. Rename the current instance (ocsp) directory. For example:
mv /var/lib/rhpki-ocsp/webapps/ocsp /var/lib/rhpki-ocsp/webapps/ocsp2
9. Open the WEB-INF/ directory in the original ocsp/ directory. For example:
cd /var/lib/rhpki-ocsp/webapps/ocsp/WEB-INF
10. In original ocsp/WEB-INF/ directory, edit the web.xml file and add lines mapping between the
eeocspAddCRL and csadmin-wizard servlets.
<servlet-mapping>
<servlet-name>
<url-pattern>
</servlet-mapping>
11. Create and install the web.xml file in the ROOT directory. For example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<servlet>
<servlet-name>ocspProxy</servlet-name>
<servlet-class>com.netscape.cms.servlet.base.ProxyServlet</servlet-class>
<init-param>
<param-name>destContext</param-name>
<param-value>/ocsp2</param-value>
</init-param>
<init-param>
<param-name>destServlet</param-name>
<param-value>/ee/ocsp</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ocspOther</servlet-name>
<servlet-class>com.netscape.cms.servlet.base.ProxyServlet</servlet-class>
<init-param>
<param-name>destContext</param-name>
<param-value>/ocsp2</param-value>
</init-param>
<init-param>
<param-name>srcContext</param-name>
<param-value>/ocsp</param-value>
</init-param>
<init-param>
<param-name>destServlet</param-name>
<param-value></param-value>
</init-param>
170
ocspOCSP
</servlet-name>
/ee/ocsp/*
</url-pattern>
Need help?
Do you have a question about the CERTIFICATE SYSTEM 7.3 - ADMINISTRATION and is the answer not in the manual?
Questions and answers