Skip to content

Certbot/DNS problems for Laravel apps #30

@belal-i

Description

@belal-i

It seems that since v2, Laravel apps cannot be installed with standard SSL configuration anymore.

When running the Certbot task, Ansible fails with this:

TASK [ssl-certbot : Run Certbot] ***********************************************
fatal: [REDACTED]: FAILED! => {REDACTED}

The error message goes on to complain about DNS errors while trying to look up www.thehost.com. It's the www. specifically that seems problematic. It seems that if you don't have a "www-entry" in your DNS configuration, Certbot will now fail because of this.

Steps to reproduce:

With example.com pointing at your server, but www.example.com not, run this command, or something similar:

lampsible [email protected] laravel --email-for-ssl [email protected] [OTHER REQUIRED LARAVEL FLAGS]

Expected result: Lampsible installs the Laravel app successfully.

Actual result: Lampsible fails on the Certbot task.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions