expr= urlencoding is incompatible with Apache 2.6.4 which is the default for Centos7
2.6.4 is the current verison of httpd available on Centos7. See the package listing here for confirmation.
This causes pulp-certguard's recommended httpd config to not work. This means pulp-certguard can't use httpd from Centos 7 or RHEL 7 as the reverse proxy. That's a problem for users.
Add Apache < 2.6.10 support
Apache < 2.6.10 cannot urlencode a certificate. As this is the current version shipped on EL7, pulp-certguard should work with that out of the box. This PR does the following:
- Adds support to detect this situation and re-assemble the certificate for openssl to validate instead of url decoding it.
- Adds docs for the < 2.6.10 reverse proxy config
- Adds a tests for these situations
This PR also adds some debug statements and docs on how to use them.