| 1 |
# VERSION 17 - DO NOT REMOVE THIS LINE |
| 2 |
|
| 3 |
ProxyRequests Off |
| 4 |
|
| 5 |
# matches for ee port |
| 6 |
<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"> |
| 7 |
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate |
| 8 |
SSLVerifyClient none |
| 9 |
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET |
| 10 |
ProxyPassReverse ajp://localhost:$DOGTAG_PORT |
| 11 |
</LocationMatch> |
| 12 |
|
| 13 |
# matches for admin port and installer |
| 14 |
<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"> |
| 15 |
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate |
| 16 |
SSLVerifyClient none |
| 17 |
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET |
| 18 |
ProxyPassReverse ajp://localhost:$DOGTAG_PORT |
| 19 |
</LocationMatch> |
| 20 |
|
| 21 |
# matches for agent port and eeca port |
| 22 |
<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"> |
| 23 |
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate |
| 24 |
SSLVerifyClient require |
| 25 |
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET |
| 26 |
ProxyPassReverse ajp://localhost:$DOGTAG_PORT |
| 27 |
</LocationMatch> |
| 28 |
|
| 29 |
# matches for REST API of CA, KRA, and PKI |
| 30 |
<LocationMatch "^/(ca|kra|pki)/(rest|v1|v2)/"> |
| 31 |
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate |
| 32 |
SSLVerifyClient optional |
| 33 |
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET |
| 34 |
ProxyPassReverse ajp://localhost:$DOGTAG_PORT |
| 35 |
</LocationMatch> |
| 36 |
|
| 37 |
# Matches for ACME service |
| 38 |
<LocationMatch "^/acme"> |
| 39 |
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate |
| 40 |
# RFC 8555 says HTTPS is REQUIRED |
| 41 |
SSLRequireSSL |
| 42 |
SSLVerifyClient none |
| 43 |
ProxyPassMatch ajp://localhost:$DOGTAG_PORT |
| 44 |
ProxyPassReverse ajp://localhost:$DOGTAG_PORT |
| 45 |
</LocationMatch> |
| 46 |
|
| 47 |
# Only enable this on servers that are not generating a CRL |
| 48 |
${CLONE}RewriteRule ^/ipa/crl/MasterCRL.bin http://$FQDN/ca/ee/ca/getCRL?op=getCRL&crlIssuingPoint=MasterCRL [L,R=301,NC] |