My thinking here was to use PKI.js (
pkijs.org) to use the webcrypto API to generate the
CSR then submit it as it would be if pasted by the user.
Would the existing modal for certificate entry be a good place for this? Basically another
bullet "Or click here to generate in your browser" type of thing in supported
browsers.
-Timur