Giter VIP home page Giter VIP logo

Comments (7)

ctz avatar ctz commented on June 15, 2024
$ cargo run --bin tlsserver-mio -- --certs localhost.pem --key localhost-key.pem --auth ca.pem --require-auth -p 8080 http

Please clarify what ca.pem is in this case -- is it issuer of the client cert, or the server's issuer?

from rustls.

RaniSharim avatar RaniSharim commented on June 15, 2024

ca.pem is the issuer of the client certificate.

from rustls.

ctz avatar ctz commented on June 15, 2024

I'm not in a position to test this on Edge/Windows, but with Firefox this works as I'd expect:

image

edit: also working on Chrome on Linux.

from rustls.

cpu avatar cpu commented on June 15, 2024

@RaniSharim Can you try your reproduction on Windows but using Firefox? It would be interesting to know whether it prompts for a client certificate.

from rustls.

RaniSharim avatar RaniSharim commented on June 15, 2024

Well I tested chrome again and it's suddenly working. I can't really explain it, perhaps some caching issue.
Firefox doesn't, but it doesn't surprise me, it has more strict rules about the certificate it's willing to work with, always had issues with self signed ones.
I'm closing the issue, there doesn't seem to be an actual server side problem.

Thanks everyone.

from rustls.

cpu avatar cpu commented on June 15, 2024

Thanks for reporting back :-)

from rustls.

ctz avatar ctz commented on June 15, 2024

I have a feeling that -- on Windows -- the certificates available are tied to a login session. So it might need a log-out/log-in cycle to work (or a reboot).

from rustls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.