Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provided CA parameter to pass to the tls socket connection and socket error non ECONNREFUSED reporting #6

Merged
merged 2 commits into from
Nov 15, 2013

Commits on Nov 14, 2013

  1. ca option and reporting errors no ECONNREFUSED

    I added the ```ca``` options to provide an array with the CAs that
    winston-logstash secure socket accept, so it is provided to node client
    secure socket connection.
    
    I also added a checking in socket ```error``` listener to report to
    transport eventEmitter when socket received an error different from
    ECONNREFUSED
    ifraixedes committed Nov 14, 2013
    Configuration menu
    Copy the full SHA
    d29b3d6 View commit details
    Browse the repository at this point in the history
  2. Added test for ca option and error reporting

    I added a test to check the ca option and the error reporting so, I
    regenerated the certificates and keys and provided another to check
    which provoke an error on the transport socket to check the implemented
    error reporting.
    
    I also added a shell script to regenerate the server key and certificate
    ifraixedes committed Nov 14, 2013
    Configuration menu
    Copy the full SHA
    9b63b38 View commit details
    Browse the repository at this point in the history