gabriel / muse public
fix auth dev
AI Agent gabriel · 46 days ago · Apr 27, 2026 · Diff

fix(auth): use local CA cert for challenge-response in muse auth register

urllib.request.urlopen (used by auth register) does not load the bundled self-signed CA cert that httpx uses for localhost HTTPS. Connections to localhost:1337 during muse auth register failed with CERTIFICATE_VERIFY_FAILED.

For localhost/127.0.0.1 HTTPS targets, build an SSLContext from the musehub/deploy/local-tls/localhost.crt bundle before calling urlopen. Falls back to the default (no override) when the cert file is absent or for non-localhost URLs.

sha256:a78b78e763e26480acb5cd00b85b38fb30314a7446690d08df35e567257e3e9e sha
sha256:72b632a72f0ee569eb5fb95888cf65c09296cc93b06cc240fbba96e440921045 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:a78b78e763e26480acb5cd00b85b38fb30314a7446690d08df35e567257e3e9e --body "your comment"