Skip to content

Commit

Permalink
Allow access to new PKI APIs v2
Browse files Browse the repository at this point in the history
PKI has a plan to re-implement REST APIs using different libraries and supporting only JSON format. The new APIs have a different path, /v2, and when ready the current implementation will be deprecated.

These APIs will not be back-ported to other branches and for the moment the APIs will not be for external use but the CLI will be progressively migrated to the new API endpoints so these have to be accessible.

For reference: https://github.com/dogtagpki/pki/wiki/CA-REST-API-v2
  • Loading branch information
fmarco76 committed Apr 2, 2024
1 parent adf95dc commit 4a221f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/share/ipa-pki-proxy.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ProxyRequests Off
</LocationMatch>

# matches for REST API of CA, KRA, and PKI
<LocationMatch "^/(ca|kra|pki)/rest/">
<LocationMatch "^/(ca|kra|pki)/rest/|^/(ca|kra|pki)/v2/">
SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
SSLVerifyClient optional
ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
Expand Down

0 comments on commit 4a221f8

Please sign in to comment.