Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.ISSUE MIGRATED FROM https://gitlab.com/aegir/hosting_https/issues/20 (see #2934484: Move back issue management to D.o)
If we have any of these options enabled on the server, then sites can automatically enable/require encryption after they're created.










Comments
Comment #2
bgm CreditAttribution: bgm commentedThis might be a bit out of scope, or upstream, but when installing Aegir on a new server, I want hosting_https to be automatically configured with LetsEncrypt (and not have to do the dozen clicks in the UI).
So far, I have this:
However, after running:
It does not enable https on the hostmaster site. Any hints?
(we can later work on decoupling the SQL from the forms code, so we can have public functions that can be called from a provision module?)
Comment #3
bgm CreditAttribution: bgm commentedFrom IRC conversations, Colan confirmed that doing a node_save() helps run the correct sequence of tasks for the change to be effective.
I updated my code to reflect this. The code is still very patchy and still has hardcoded IDs (although they should always be the same IDs, it's still not a good assumption):
https://github.com/coopsymbiotic/provision_symbiotic/blob/master/provisi...