browser-csr
===========
Create a CSR (Certificate Signing Request) in the browser that supports SAN altnames.
Used for Let's Encrypt v2 with [greenlock-browser.js](https://git.coolaj86.com/coolaj86/greenlock-browser.js).
Usage
-----
```html
```
```js
CSR.generate({
/* A WebCrypto-generated keypair */
keypair: {}
/* Subject & SANS altnames */
, domains: [ 'example.com', 'www.example.com' ]
, format: 'rfc7515' // unpadded urlsafe base64
}).then(function (csrweb64) {
console.log(csrweb64);
});
```
Dependencies
------------
[`pkijs@v1.3.33`](https://github.com/PeculiarVentures/PKI.js/tree/41b63af760cacb565dd850fb3466ada4ca163eff)
```
```