Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

fix windows aws ssl cert verification #7

Closed
wants to merge 1 commit into from

Conversation

troyready
Copy link

The sensu ruby install on Windows doesn't include the proper certs (or
if it does they're not loaded properly) to connect to AWS.
@sns.publish generates an error like:

C:/opt/sensu/embedded/lib/ruby/2.0.0/net/http.rb:921:in `connect': SSL_connect returned=1 errno=0 state=error: certificate verify failed (Seahorse::Client::NetworkingError)

Using the cert bundle included with the aws-sdk-core gem should work
around this.

Sourced from amazon-archives/aws-sdk-core-ruby#166 (comment)

The sensu ruby install on Windows doesn't include the proper certs (or
if it does they're not loaded properly) to connect to AWS.
`@sns.publish` generates an error like:

```
C:/opt/sensu/embedded/lib/ruby/2.0.0/net/http.rb:921:in `connect': SSL_connect returned=1 errno=0 state=error: certificate verify failed (Seahorse::Client::NetworkingError)
```

Using the cert bundle included with the aws-sdk-core gem should work
around this.

Sourced from amazon-archives/aws-sdk-core-ruby#166 (comment)
@runningman84
Copy link

@tomwans what about merging this stuff?

@tomwans
Copy link
Contributor

tomwans commented Nov 8, 2016

Is this still an issue? I don't have any access to any Windows boxes to run this test to verify.

That said, I'm wary of merging any Windows features into our codebase. Since we don't run any Windows hosts at Simple, we don't really have any way to support this code. If you're running on Windows hosts, I think your best bet would be to fork this repo and add Windows support there.

I'd like to add that I spoke with my team and we clarified our expectations for this repository in 1190312. TL;DR, we're happy to accept patches for valid bugs, but we're likely not going to consider PRs that add new features (such as Windows support). That said, I'm going to close this out.

@tomwans tomwans closed this Nov 8, 2016
@troyready troyready deleted the cert_bundle branch November 8, 2016 23:26
autarchprinceps pushed a commit to autarchprinceps/sensu-transport-snssqs that referenced this pull request Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants