Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create new site with SSL Let's Encrypt enabled #215

Open
cerbenus opened this issue Jun 21, 2022 · 1 comment
Open

Can't create new site with SSL Let's Encrypt enabled #215

cerbenus opened this issue Jun 21, 2022 · 1 comment

Comments

@cerbenus
Copy link

EE v 4.5.6

I'm trying to create a new site on Ubuntu 20.4/EE 4.5.6 using this command:

ee site create mysite.com --type=wp --ssl=le --dbname=my_db --dbuser=my_usr --dbpass=MyPass --dbprefix=MyPref_ --admin-user=MyAdmin --admin-pass=MyAdminPass --admin-email=hello@mysite.com

I get this output:

...
Installing WordPress site.
Success: https://mysite.com has been created successfully!
Starting SSL verification.
Warning: Server error: `GET http://mysite.com/.well-known/acme-challenge/Pxup0ypL0sfxNMBsutLW8AUKDLOS24zv3_Tna9pai0s` resulted in a `521 ` response
Warning: Initiating clean-up.
[musik4kidz.com] Docker Containers removed.
[musik4kidz.com] site root removed.
Success: Site mysite.com deleted.
Report bugs here: https://github.com/EasyEngine/site-type-wp

EE tries to create my site but then fails because it can't find http://mysite.com/.well-known/acme-challenge/Pxup0ypL0sfxNMBsutLW8AUKDLOS24zv3_Tna9pai0s.
2 things I see:

  1. It's looking for http even though it created for https. I don't know if EE is creating this location...
  2. If I use --wildcard during the SSL process it works. However, wildcards don't support auto renewal...

Is this a bug or is there a specific process to handle this?

@zerofill
Copy link

Same problem... I only had to have Cloudflare SSL set as strict in the past.

Did you figure out the issue?

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

No branches or pull requests

2 participants