Skip to content

specify the cipher in code? #371

Description

@Pomax

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?

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)
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions