Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

[WIP] feat: Support for client-side SSL certs #601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

protometa
Copy link

@protometa protometa commented Sep 22, 2017

For secure remote proxy access.

@protometa
Copy link
Author

Webpack complains about the pem module in browser tests. Not sure how to ignore it via aegir.

Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this work in the Browser? If so, must be tested only in Node.js

Needs to be documented.


async.waterfall([
(cb) => {
require('pem').createCertificate({selfSigned: true}, cb)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid requiring modules throughout the codebase.

require('pem').createCertificate({selfSigned: true}, cb)
},
(serverPEM, cb) => {
require('pem').createCertificate({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specially when you use it multiple times

@daviddias
Copy link
Contributor

@lgierth thoughts here?

@daviddias daviddias changed the title Support for client-side SSL certs feat: Support for client-side SSL certs May 29, 2018
@alanshaw alanshaw changed the title feat: Support for client-side SSL certs [WIP] feat: Support for client-side SSL certs Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants