diff --git a/devscripts/validation/docker_compose.py b/devscripts/validation/docker_compose.py index 9ece610ba..a04bacd5a 100644 --- a/devscripts/validation/docker_compose.py +++ b/devscripts/validation/docker_compose.py @@ -260,6 +260,10 @@ def validate_endpoints(base_url: str, verify: Optional[str] = None): resp = requests.get(f"{base_url}/static/admin/css/base.css", verify=verify, timeout=10) resp.raise_for_status() + # Test (principal) ACME connection + resp = requests.get(f"{base_url}/acme/directory/", verify=verify, timeout=10) + resp.raise_for_status() + def test_tutorial(release: str) -> int: # pylint: disable=too-many-locals # noqa: PLR0915 """Validate the docker compose quickstart tutorial.""" diff --git a/docs/source/include/quickstart_with_docker_compose/setup-cas.yaml b/docs/source/include/quickstart_with_docker_compose/setup-cas.yaml index 4a47638fa..e0b2bc2a1 100644 --- a/docs/source/include/quickstart_with_docker_compose/setup-cas.yaml +++ b/docs/source/include/quickstart_with_docker_compose/setup-cas.yaml @@ -2,4 +2,4 @@ commands: - command: docker compose exec backend manage createsuperuser run: docker compose exec backend manage shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('user', 'user@example.com', 'nopass')" - command: docker compose exec backend manage init_ca --path-length=1 Root CN=Root - - command: docker compose exec backend manage init_ca --path=ca/shared/ --parent=Root Intermediate CN=Intermediate + - command: docker compose exec backend manage init_ca --path=ca/shared/ --parent=Root --acme-enable Intermediate CN=Intermediate