Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Jan 2017 at 12:38 UTC
Updated:
16 Jun 2017 at 21:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sammuell commentedHere's a 7.x patch including tests.
Comment #3
sammuell commentedComment #5
sammuell commentedHmm, the patch works locally. It seems to be an issue with the automated testing clients. Anyone has an idea?
Comment #6
john morahan commentedWell, if the ownership and permissions are correctly configured (which I assume they are on the testing clients) they won't have write access to
drupal_mkdir(DRUPAL_ROOT . '/.well-known');so that won't work.Comment #7
sammuell commentedToo bad, in that case there won't be any automated tests. Here's the parent issue's patch without the tests.
Comment #8
john morahan commentedThe patch makes the same changes to .htaccess as the combined two D8 patches from the parent issue.
The regular expressions are the same as the ones that were already reviewed on the parent issue. I reviewed them again and they still look correct.
I repeated the tests that I ran locally on the parent issue, with the same successful results:
There's a separate issue #2699701: Testing RFC 5785 Support to add tests for this in D8, so I guess that would be backported separately when it's done...?
Comment #9
damienmckennaI can confirm this helped me get the letsencrypt system working on a site.
Comment #10
mrconnerton commentedI can also confirm this worked for me + letsencrypt.
Comment #11
xmacinfoI believe it's time to commit this patch.
Drupal 7 should support Let's Encrypt out of the box too.
Comment #12
stefan.r commentedComment #13
sammuell commentedIs there any other step missing except of the actual commit to core?
Comment #14
jeffschulerThis allowed me to get LetsEncrypt/Certbot working. Thank you!
Comment #15
stefan.r commentedWe're aiming to get this into next week's release.
Comment #16
David_Rothstein commentedCommitted to 7.x - thanks!
I added a note about this to CHANGELOG.txt. Not sure if we want a change notice also? - there is one that was written for Drupal 8 at https://www.drupal.org/node/2661732 but it was never published because it has some problems.
As far as I can see, we're still blocking this for IIS servers in web.config, but it seems fine to fix it for Apache first. We should have a followup issue for IIS.
Comment #18
David_Rothstein commentedEh, I was going to file an issue about IIS, but the web.config file is pretty different for Drupal 7 and Drupal 8 and I'm not even sure if it's being blocked there or not... so I'll leave that for someone else to do if it turns out to be an issue after all.