ssl_certificate_validation => false is not working in HTTP_Poller configuration.
My service URL is HTTPS but there is no need to pass any certs along with the call. Hence, I wanted to skip it.
Even with the above option enabled, it is checking for SSL certs. What can I do here ?
             
            
               
               
               
            
                
            
           
          
            
              
                warkolm  
                (Mark Walkom)
               
              
                  
                    April 5, 2016,  4:23am
                   
                   
              2 
               
             
            
              What error are you getting?
             
            
               
               
               
            
            
           
          
            
            
              "error" => "PKIX path building failed: sun.security.provider.c 
ertpath.SunCertPathBuilderException: unable to find valid certification path to 
requested target".
             
            
               
               
               
            
            
           
          
            
              
                warkolm  
                (Mark Walkom)
               
              
                  
                    April 5, 2016,  4:38am
                   
                   
              4 
               
             
            
              And what does the config look like?
             
            
               
               
               
            
            
           
          
            
            
              input 
{ 
http_poller 
{ 
urls => 
{ 
Locations => 
{ 
method => Get 
url => 	"https://zep-pt.com/WebService/api/getlocations/1234 " 
headers => 
{ 
"Content-Type" => "application/json" 
} 
} 
} 
ssl_certificate_validation => false 
interval => 60 
codec => "json" 
metadata_target => "http_poller_metadata" 
} 
}
output 
{ 
stdout 
{ 
codec => rubydebug 
} 
}
             
            
               
               
               
            
            
           
          
            
            
              Any update on this Mark Walkom ?
             
            
               
               
               
            
            
           
          
            
            
              Can anyone provide any solution here ?
             
            
               
               
               
            
            
           
          
            
              
                warkolm  
                (Mark Walkom)
               
              
                  
                    April 8, 2016,  1:29am
                   
                   
              8 
               
             
            
              Even though you aren't validating the cert, I am pretty sure you still need a client_cert path.
             
            
               
               
               
            
            
           
          
            
            
              Where should i place my pfx file and what shld i mention in the path ???
             
            
               
               
               
            
                
            
           
          
            
            
              This worked fine. I added the certificate to JRE KeyStore.
Since, logstash uses JDK env. cert needs to be installed under JDK KeyStore.