Chapter 5. Online Certificate Status Protocol Responder
138
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> ocspOCSP </servlet-name>
<url-pattern> /ee/ocsp/* </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>
Содержание CERTIFICATE SYSTEM 7.2 - MIGRATION GUIDE
Страница 36: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Страница 144: ...124 ...
Страница 160: ...140 ...
Страница 208: ...188 ...
Страница 210: ...190 ...
Страница 256: ...236 ...
Страница 282: ...Chapter 12 Certificate Profiles 262 Parameter IssuerName_n IssuerType_n ...
Страница 285: ...Freshest CRL Extension Default 265 Parameter PointName_n PointIssuerName_n ...
Страница 335: ...Configuring Mappers 315 Figure 14 9 Selecting a New Mapper Type 6 Edit the mapper instance and click OK ...
Страница 362: ...342 ...
Страница 376: ...356 ...
Страница 436: ...416 ...
Страница 490: ...470 ...
Страница 504: ...484 ...