SSL cert revoked and broken if moving domain to another site
ssuess opened this issue · 2 comments
ssuess commented
as mentioned here: #1627
This has happened to me on several different ee systems, either newly installed or upgraded to 4.4.3 (both on ubuntu 20):
TO REPRODUCE:
- create a site (example.com) and enable ssl
- create a second site (test.example.com) and enable ssl
ee site delete example.com
ee site update test.example.com --add-alias-domains="example.com"
RESULT:
Visiting https://example.com fails with notice of revoked cert, no amount of attempting to renew certs will work without manipulating the file system, see workaround.
WORKAROUND:
ee site update test.example.com --ssl="off"
- One must then go into /opt/easyengine/services/nginx-proxy/certs and remove cert for test.example.com
ee site update test.example.com --ssl=le
mrrobot47 commented
@ssuess Fix for this is now available in the nightly release. Please update to the latest nightly via ee cli update --nightly
and test this.
ssuess commented
thanks!