Adding ability to use PFX files#768
Conversation
|
I like this strategy. Can you add support for passwords? I feel that may need to be an optional 3rd param. |
Sure thing |
|
Oops, failing for older versions of node, will fix |
|
Ok @jsdevel, I have added in passphrase support for you, tests are also now passing. |
There was a problem hiding this comment.
can you update this jsdoc?
|
Pretty close @tomgco ! Once the last minor comments are addressed we'll merge. |
Thanks, just adding these changes now. |
|
Ok, @jsdevel should be all working now and up to scratch. Want me to rebase my commits into one, or is it good as they are? |
|
Thanks a lot for your time and effort @tomgco 👍 Please rebase and squash your commits into a single one as stated in our Guidelines on Submitting a Pull Request in order to get your PR merged 😃 |
This adds supports for PFX files as an alternative to cert and keys. Support for passphrase's Fixed issues with ClientSSLSecurityPFX in 0.1 and 0.8 Additional documentation and tests
|
Thanks a ton @tomgco - it's people like you who make this library so awesome 😃 |
+1 |
|
@tomgco Actually tests are failing over at TravisCI because Since you introduced this valuable extension and provided the files for testing would it be possible for you to add a valid file so that the tests are passing? Thanks a lot 👍 |
|
@tomgco can you re-generate the |
|
It would be nice if we scripted these with bash or something. |
|
@jsdevel Hi, sorry about this, I haven’t got the scripts on hand at the moment (on different machine) but should be able to upload a script and a new cert come the weekend.
Even better, I have a script on that other machine already in bash, will require openssl though - but thats a given 💃 |
Thanks @tomgco! That would be great 😄
I think we'll need to call for a rebase first, otherwise the restart will continue to fail with the test uncommented. But yes, we should notify other PR authors. |
Adding ability to use PFX files
Instead of extending ClientSSLSecurity to handle keys, certs, etc plus pfx keys, I have instead opted to create a new class specifically to use pfx files.