TheWaWaR / TheWaWaR/simple-http-server

certificates generated by mkcert cause `mac verify failure`

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.5k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

I'm attempting to use simple-http-server with mkcert to create valid certs for local development. I'm generating a P12 cert with mkcert, but simple-http-server rejects it with mac verify failure.

Here's a recording of the process:

https://asciinema.org/a/tFAgoaVnHB1j9OsdG4YiIZJvq

I'd guess this isn't simple-http-server's issue, just reporting it in case there's a known fix, or if anyone can point me to the library that's emitting the error (hyper?).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified. Reproduce the failure with a mkcert-generated P12 certificate and trace the mac verify failure, checking the certificate-loading path and the possible hyper dependency mentioned in the report. Done means identifying whether the fix belongs in simple-http-server or a dependency and documenting the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.