2022-01-28 09:58:42 -06:00
|
|
|
# VERSION 17 - DO NOT REMOVE THIS LINE
|
2011-09-09 16:07:09 -05:00
|
|
|
|
2011-08-17 14:36:18 -05:00
|
|
|
ProxyRequests Off
|
|
|
|
|
|
|
|
# matches for ee port
|
2014-03-20 03:34:53 -05:00
|
|
|
<LocationMatch "^/ca/ee/ca/checkRequest|^/ca/ee/ca/getCertChain|^/ca/ee/ca/getTokenInfo|^/ca/ee/ca/tokenAuthenticate|^/ca/ocsp|^/ca/ee/ca/updateNumberRange|^/ca/ee/ca/getCRL|^/ca/ee/ca/profileSubmit">
|
2018-01-08 12:56:24 -06:00
|
|
|
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
|
|
|
|
SSLVerifyClient none
|
2020-03-10 16:00:55 -05:00
|
|
|
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
|
2012-08-23 11:38:45 -05:00
|
|
|
ProxyPassReverse ajp://localhost:$DOGTAG_PORT
|
2011-08-17 14:36:18 -05:00
|
|
|
</LocationMatch>
|
|
|
|
|
2012-08-15 21:53:51 -05:00
|
|
|
# matches for admin port and installer
|
2022-01-28 09:58:42 -06:00
|
|
|
<LocationMatch "^/ca/admin/ca/getCertChain|^/ca/admin/ca/getConfigEntries|^/ca/admin/ca/getCookie|^/ca/admin/ca/getStatus|^/ca/admin/ca/securityDomainLogin|^/ca/admin/ca/getDomainXML|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/tokenAuthenticate|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/updateDomainXML|^/ca/admin/ca/updateConnector|^/ca/admin/ca/getSubsystemCert|^/kra/admin/kra/updateNumberRange|^/kra/admin/kra/getConfigEntries|^/kra/admin/kra/getStatus">
|
2018-01-08 12:56:24 -06:00
|
|
|
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
|
|
|
|
SSLVerifyClient none
|
2020-03-10 16:00:55 -05:00
|
|
|
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
|
2012-08-23 11:38:45 -05:00
|
|
|
ProxyPassReverse ajp://localhost:$DOGTAG_PORT
|
2011-08-17 14:36:18 -05:00
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
# matches for agent port and eeca port
|
2015-06-08 00:30:47 -05:00
|
|
|
<LocationMatch "^/ca/agent/ca/displayBySerial|^/ca/agent/ca/doRevoke|^/ca/agent/ca/doUnrevoke|^/ca/agent/ca/updateDomainXML|^/ca/eeca/ca/profileSubmitSSLClient|^/kra/agent/kra/connector">
|
2018-01-08 12:56:24 -06:00
|
|
|
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
|
|
|
|
SSLVerifyClient require
|
2020-03-10 16:00:55 -05:00
|
|
|
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
|
2012-08-23 11:38:45 -05:00
|
|
|
ProxyPassReverse ajp://localhost:$DOGTAG_PORT
|
2011-08-17 14:36:18 -05:00
|
|
|
</LocationMatch>
|
2012-10-09 09:40:20 -05:00
|
|
|
|
2020-05-04 08:17:33 -05:00
|
|
|
# matches for REST API of CA, KRA, and PKI
|
|
|
|
<LocationMatch "^/(ca|kra|pki)/rest/">
|
2018-01-08 12:56:24 -06:00
|
|
|
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
|
|
|
|
SSLVerifyClient optional
|
2020-03-10 16:00:55 -05:00
|
|
|
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
|
2015-04-29 05:07:58 -05:00
|
|
|
ProxyPassReverse ajp://localhost:$DOGTAG_PORT
|
|
|
|
</LocationMatch>
|
|
|
|
|
2020-02-20 01:26:08 -06:00
|
|
|
# Matches for ACME service
|
|
|
|
<LocationMatch "^/acme">
|
|
|
|
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
|
|
|
|
# RFC 8555 says HTTPS is REQUIRED
|
|
|
|
SSLRequireSSL
|
|
|
|
SSLVerifyClient none
|
|
|
|
ProxyPassMatch ajp://localhost:$DOGTAG_PORT
|
|
|
|
ProxyPassReverse ajp://localhost:$DOGTAG_PORT
|
|
|
|
</LocationMatch>
|
|
|
|
|
2012-10-09 09:40:20 -05:00
|
|
|
# Only enable this on servers that are not generating a CRL
|
2018-03-14 17:08:59 -05:00
|
|
|
${CLONE}RewriteRule ^/ipa/crl/MasterCRL.bin http://$FQDN/ca/ee/ca/getCRL?op=getCRL&crlIssuingPoint=MasterCRL [L,R=301,NC]
|