Edit Site is not showing the form for HTTPS when the site is on a web cluster.

Comments

bdragon created an issue. See original summary.

bdragon’s picture

Status: Active » Needs work
StatusFileSize
new624 bytes

Still doing internal testing on this as to whether more changes are necessary to get it working.

bdragon’s picture

OK, yeah, there's more going on here.

web_cluster and web_pack do compensation for the ssl_enabled property, but nothing for https.

Additionally, something is going wrong with the server variables -- they are not being propogated properly on web clusters, so attempting to enable https on a site is causing it to attempt to call scripts in /.

Going to investigate more.

bdragon’s picture

An alternative way to fix would be to teach web pack and web cluster about the https_enabled. Trying that in #2954727: web_pack and web_cluster https_enabled not propogated.

bdragon’s picture

StatusFileSize
new3.46 KB

Coming back to this patch, since it looks like the logic has to go in hosting_https anyway.

bdragon’s picture

StatusFileSize
new2.5 KB

Simplified patch by fixing hosting_https_get_servers() instead and checking whether the server is in the list instead of duplicating check code in multiple places.

bdragon’s picture

Status: Needs work » Needs review

For some reason, I have to enable certificate generation on the hostmaster for the actual certificate provisioning to work (even though the cluster that I'm actually running the test platform on does not include the hostmaster).

But other than that, deploying to clusters seems to operate OK.

helmo’s picture

This looks ok

  • helmo committed 92c0ead on 7.x-3.x authored by bdragon
    Issue #2954350 by bdragon: Edit Site not showing HTTPS form on Web...
helmo’s picture

Status: Needs review » Fixed

committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.