Dexus / Dexus/pem

specify the cipher in code?

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
573
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I tried using this in combination with puppeteer but it rejects the certs due to the fact that the browser doesn't accept the certificate cypher. Is there a way to say something like this?

```js
pem.createCertificate({ days: 1, selfSigned: true, cipher: `TLS_AES_256_GCM_SHA384` }, function (err, keys) {
if (err) {
throw err
}
https.createServer({ key: keys.clientKey, cert: keys.certificate }, function (req, res) {
res.end('o hai!')
}).listen(443)
})
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.