Steve, >From your curl command, it looks like your server is authenticating clients using the apikey, but when using SSL your NiFi GetHTTP client needs to be able to authenticate the server's certificate. You will still need to configure an SSL Context Service. However, you only need to configure the Truststore Filename, Truststore Type and Truststore Password. You should make sure that your truststore establishes the proper trust chain for the server that GetHTTP talks to.
The Keystore properties of an SSL Context Service are required only when your SSL server authenticates client certificates with 2-way SSL. Hope this helps, -- Mike On Tue, May 26, 2015 at 1:58 PM, Stephen Pietrasko < [email protected]> wrote: > All, > > Looking for a little help or recommendations. I am trying to pull json from > a file located on a web server. The standard way to pull information off of > this server is to do a curl command. I am trying to automate the curl > process and send the output to ActiveMQ. (I would prefer not to write to a > file). > > I have tried GetHTTP and InvokeHTTP but I think my issue is ssl related. > The curl is formatted as: > > https://URL?apikey=xxx&risk=40&v=2&method=delta&cat=5&format=json > or > curl –d apikey=xxx –d risk=40 –d v=2 –d method=delta –d cat=5 –d > format=json URL > > I have taken a look at the SSL Context Service but I am not using any keys > other than the API Key which is already in the curl. > > Any help would be greatly appreciated. > > Thank you, > > Steve >
