markdown syntax fix
This commit is contained in:
parent
f68f5f8d0f
commit
f2a9fc083a
|
@ -64,7 +64,7 @@ return rsacsr({ key: key, domains: domains }).then(function (csr) {
|
|||
|
||||
The output will look something like this (but much longer):
|
||||
|
||||
```js
|
||||
```
|
||||
-----BEGIN CERTIFICATE REQUEST-----
|
||||
MIIClTCCAX0CAQAwFjEUMBIGA1UEAwwLZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3
|
||||
DQEBAQUAA4IBDwAwggEKAoIBAQCba21UHE+VbDTpmYYFZUOV+OQ8AngOCdjROsPC
|
||||
|
@ -81,7 +81,7 @@ If you need to convert a PEM to JWK first, do so:
|
|||
```js
|
||||
var Rasha = require('rasha');
|
||||
|
||||
Rasha.import({ pem: '-----BEGIN RSA PRIVATE KEY-----\nMIIEpAI..." }).then(function (jwk) {
|
||||
Rasha.import({ pem: "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAI..." }).then(function (jwk) {
|
||||
console.log(jwk);
|
||||
})
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "rsa-csr",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "💯 A focused, zero-dependency library to generate a Certificate Signing Request (CSR) and sign it!",
|
||||
"homepage": "https://git.coolaj86.com/coolaj86/rsa-csr.js",
|
||||
"main": "index.js",
|
||||
|
|
Loading…
Reference in New Issue