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

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

Open
protometa wants to merge 1 commit into
ipfs-inactive:masterfrom
protometa:master
Open

[WIP] feat: Support for client-side SSL certs#601
protometa wants to merge 1 commit into
ipfs-inactive:masterfrom
protometa:master

Conversation

@protometa

@protometa protometa commented Sep 22, 2017

Copy link
Copy Markdown

For secure remote proxy access.

@protometa

Copy link
Copy Markdown
Author

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

@daviddias daviddias left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread test/request-api.spec.js

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

Copy link
Copy Markdown
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.

Comment thread test/request-api.spec.js
require('pem').createCertificate({selfSigned: true}, cb)
},
(serverPEM, cb) => {
require('pem').createCertificate({

Copy link
Copy Markdown
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
Copy Markdown
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.

4 participants