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
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:a78b78e763e26480acb5cd00b85b38fb30314a7446690d08df35e567257e3e9e --body "your comment"
No comments yet. Be the first to start the discussion.