-
Notifications
You must be signed in to change notification settings - Fork 82
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
Issues with SSL certificate validation in logstash output http plugin #21
Comments
👍 |
@logstash-dev's can we have an update here ? |
@suraj-kamath I've found that 'ssl_certificate_validation' is used here. Does it help? |
Still awaiting response on this from "logstash-dev" |
@suraj-kamath is this plugin still trying to do cert validation when |
I'm getting the same error when using I just downloaded logstash 2.0 and installed the http_poller plugin |
@logstash-dev's Any update on this ? |
+1 |
I am also getting the same error. "error" => "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" |
+1 Getting same issue as above |
+1 Need a workaround! |
+1 |
I was able to fix this problem. Check whether your application is using JDK or JRE. Based on that try installing the certificate in the keystore. |
Same problem here. |
same problem here: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" |
@sameerpanicker : great !! could you please help us here to fix this issue? may be list of steps to fix this would be great. |
Go to Environment Variables and check if you are using JRE or JDK path as a JAVA_HOME value. Based on that change JRE/JDK and execute this command using CMD
Let me know if this works. |
I managed to find the problem in my case, although I don't know if this would apply to everybody here. @suraj-kamath can you check if this is a duplicate? |
+1 same issue any workaround here? |
Creating my own truststore with the Using logstash version 2.4.1. |
breml's work around did the trick for me. |
@dandrestor output HTTP does not have an valid setting of "ssl". So that solution will not work. This problem is still present in Logstash version 5.3.1 |
@bernielomax as the error output mentioned "logstash unable to find valid certification path to requested target", you should add a fake path to it since the code needs. The configuration is worked fine for me: ssl => true
ssl_certificate_verification => false
truststore => "/home/admin/server/elasticsearch-current/config/truststore.jks"
truststore_password => changeit
user => logstash
password => logstash If OK pls feedback. I guess it will work around the problem met in http output. @blacklobo
|
This issue is open since 2015. |
@Petrox +1 |
+1 same issue as everyone else. |
same issue need help urgently |
+1 same issue here |
+1 same issure |
+1 same issue here |
+1 Same issue here... |
+1 same issue with a wildcard certificate not being recognized here. |
+1 same issue. |
+1 Having the same problem |
+1, same issue using wildcards and/or ignoring certification verification. |
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
Since 2015... |
+1 |
+1 (We have wildcard Certs AND SSL settings to turn off verification in LS don't work) |
+1 |
1 similar comment
+1 |
@yaoyaminaco0571 's suggestion to add truststore path worked for me in v7.16.1
|
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Facing the same issue (out of a sudden) with no cert used at all . This is my output section:
And I have no truststore to set ot a cacert. |
A lot has been going on here over the years, but let me tackle this down:
The updated http output which can be used to disable verification (using The issue also mentions ES output with the |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
There are two issues:
Logstash version :1.5.4
Http plugin version :1.1.0
java : 1.8.0_51.
The text was updated successfully, but these errors were encountered: