You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/07/28 14:05:40 UTC

(tooling-trusted-release) branch main updated: Use a local CA to serve the development version from localhost.apache.org

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new f96aff2  Use a local CA to serve the development version from localhost.apache.org
f96aff2 is described below

commit f96aff2c1651f30bed75978aec31c9b8fdc08dbb
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Mon Jul 28 15:05:10 2025 +0100

    Use a local CA to serve the development version from localhost.apache.org
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7da76fa..1bea439 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ certs:
 	then uv run scripts/generate-certificates; \
 	fi
 
+certs-local:
+	mkcert localhost.apache.org localhost 127.0.0.1 ::1
+
 check:
 	git add -A
 	uv run pre-commit run --all-files
@@ -63,12 +66,14 @@ run-playwright-slow:
 
 serve:
 	SSH_HOST=127.0.0.1 uv run hypercorn --bind $(BIND) \
-	  --keyfile key.pem --certfile cert.pem atr.server:app --debug --reload
+	  --keyfile localhost.apache.org+3-key.pem --certfile localhost.apache.org+3.pem \
+	  atr.server:app --debug --reload
 
 serve-local:
 	APP_HOST=127.0.0.1:8080 LOCAL_DEBUG=1 SECRET_KEY=insecure-local-key \
 	  SSH_HOST=127.0.0.1 uv run hypercorn --bind $(BIND) \
-	  --keyfile key.pem --certfile cert.pem atr.server:app --debug --reload
+	  --keyfile localhost.apache.org+3-key.pem --certfile localhost.apache.org+3.pem \
+	  atr.server:app --debug --reload
 
 sync:
 	uv sync --no-dev


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org