News for hackers. Stuff that matters.
Re:Memoirs from the old web: The KEYGEN element by danjc on Monday May 01, 2023 @04:43AM (#35770401)
Even today, client cert selection in the browser is really ugly.

I once needed to add client cert support to an API but because the same API was used by our SPA, enabling client certs even as optional caused the browser to display a cert prompt when the SPA made its first API call.

To get around this, I ended up writing a custom IIS module that turned on client cert support only when a certain request header was present.

There are no comments on this comment yet.