ansible-collection-autonomy
ansible-collection-autonomy copied to clipboard
acmeca host certificates challenge completion fails if redirect http to https is enabled
If the site redirects http to https. The challenge completion fails with an error message about not being able to find the site.
Something is weird about it though, because it doesn't seem to be consistent.
<VirtualHost *:80>
ServerName example.com
# ACME Certificate
DocumentRoot /srv/www/example.com
<Directory /srv/www/example.com/.well-known/>
Options +FollowSymLinks
AllowOverride All
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
DirectoryIndex index.html
</Directory>
Redirect / https://example.com
</VirtualHost>
Part of the problem may be the line
Redirect / https://example.com
Should be
Redirect / https://example.com/
This has been resolved with the exception of drupal sites.