Skip to content

Conversation

@RobHooper
Copy link
Contributor

SSL renewals fail following the implementation of Cloudflare. This PR modifies the challenge method to fix this.

The default challenge method is tls-alpn, ALPN traffic is not passed through by the proxy causing SSL renewals to fail.

There are two alternatives:

  • HTTP authentication - mod_md manages requests to a custom path (/.acme-challenge/[...]) to authenticate certificates. HTTP authentication is the quickest to set up.
  • DNS authentication - mod_md talks directly to our DNS provider and authenticates certificates there. This is potentially more reliable and scalable.

https://httpd.apache.org/docs/2.4/mod/mod_md.html#mdcachallenges

DNS authentication is preferred but it needs more set up for the same result.

I have deployed this PR to ocp19 in order to renew the standard.open-contracting.org SSL certificate as it would expire over the holiday period.

Note: After deploying, Apache needed restarting twice - once to generate new certificates and a second time to load them in.

@RobHooper RobHooper requested a review from jpmckinney December 24, 2025 12:36
@RobHooper RobHooper self-assigned this Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants