You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by DAVID SMITH <da...@btinternet.com> on 2018/01/18 15:56:34 UTC
Setting up an SSL context in Minifi 0.3.0
Hi
I put up a post a little while ago, because I was having trouble getting an SSL context working in Minifi 0.2.0Aldrin advised to wait until 0.3.0 came out as some dev work had been done in this area.
I have trying it again today and still cannot get an SSL context to work in a ListenHTTP processor, I get an illegalStateException in the ListenHTTP processor and it never starts. It says the SSL Context service validated against <UUID> is invalid because Invalid Controller service is not a valid controller service or does not reference the correct type of controller service.
The NifI (1.3) that I set up the flow on before templating it is on the same VM and using the same keystore, the flow works without any problem in NiFi. Iused the Minifi 0.3.0 toolkit to convert the template into the yml file and I have populated the controller service passwords as required.
Strangely I also have a POSTHTTP in the same flow using the same SSL context and it loads and starts without any problems.
Can anyone help?
Many thanksDave
Re: Setting up an SSL context in Minifi 0.3.0
Posted by Aldrin Piri <al...@gmail.com>.
Dave,
Thanks, saw the issue roll in. I'll put it on my list to scope out and
continue conversation on there.
--aldrin
On Sun, Jan 21, 2018 at 3:25 PM, DAVID SMITH <da...@btinternet.com>
wrote:
> Aldrin
> I have created MINIFI-429, as my system is segregated I have typed in the
> Error message I am seeing and the pertinent parts of the config.yml file.If
> any more information is required please let me know.
> Many thanksDave
>
> On Thursday, 18 January 2018, 16:32, Aldrin Piri <al...@gmail.com>
> wrote:
>
>
> Hi David,
>
> Had a couple of fixes [1][2] to remedy similar issues but would be
> interested in seeing your configuration to see if we are missing
> something. Would you mind please opening up a JIRA (
> https://issues.apache.org/jira/projects/MINIFI/issues) with as much of
> template, config.yml, and logs as possible for your instance exhibiting
> problems. Please be mindful to strip out any sensitive information.
>
> [1] https://issues.apache.org/jira/browse/MINIFI-408
> [2] https://issues.apache.org/jira/browse/MINIFI-403
>
> Thanks,
> Aldrin
>
> On Thu, Jan 18, 2018 at 10:56 AM, DAVID SMITH <da...@btinternet.com>
> wrote:
>
> > Hi
> > I put up a post a little while ago, because I was having trouble getting
> > an SSL context working in Minifi 0.2.0Aldrin advised to wait until 0.3.0
> > came out as some dev work had been done in this area.
> > I have trying it again today and still cannot get an SSL context to work
> > in a ListenHTTP processor, I get an illegalStateException in the
> ListenHTTP
> > processor and it never starts. It says the SSL Context service validated
> > against <UUID> is invalid because Invalid Controller service is not a
> valid
> > controller service or does not reference the correct type of controller
> > service.
> > The NifI (1.3) that I set up the flow on before templating it is on the
> > same VM and using the same keystore, the flow works without any problem
> in
> > NiFi. Iused the Minifi 0.3.0 toolkit to convert the template into the yml
> > file and I have populated the controller service passwords as required.
> > Strangely I also have a POSTHTTP in the same flow using the same SSL
> > context and it loads and starts without any problems.
> > Can anyone help?
> > Many thanksDave
>
>
>
>
Re: Setting up an SSL context in Minifi 0.3.0
Posted by DAVID SMITH <da...@btinternet.com>.
Aldrin
I have created MINIFI-429, as my system is segregated I have typed in the Error message I am seeing and the pertinent parts of the config.yml file.If any more information is required please let me know.
Many thanksDave
On Thursday, 18 January 2018, 16:32, Aldrin Piri <al...@gmail.com> wrote:
Hi David,
Had a couple of fixes [1][2] to remedy similar issues but would be
interested in seeing your configuration to see if we are missing
something. Would you mind please opening up a JIRA (
https://issues.apache.org/jira/projects/MINIFI/issues) with as much of
template, config.yml, and logs as possible for your instance exhibiting
problems. Please be mindful to strip out any sensitive information.
[1] https://issues.apache.org/jira/browse/MINIFI-408
[2] https://issues.apache.org/jira/browse/MINIFI-403
Thanks,
Aldrin
On Thu, Jan 18, 2018 at 10:56 AM, DAVID SMITH <da...@btinternet.com>
wrote:
> Hi
> I put up a post a little while ago, because I was having trouble getting
> an SSL context working in Minifi 0.2.0Aldrin advised to wait until 0.3.0
> came out as some dev work had been done in this area.
> I have trying it again today and still cannot get an SSL context to work
> in a ListenHTTP processor, I get an illegalStateException in the ListenHTTP
> processor and it never starts. It says the SSL Context service validated
> against <UUID> is invalid because Invalid Controller service is not a valid
> controller service or does not reference the correct type of controller
> service.
> The NifI (1.3) that I set up the flow on before templating it is on the
> same VM and using the same keystore, the flow works without any problem in
> NiFi. Iused the Minifi 0.3.0 toolkit to convert the template into the yml
> file and I have populated the controller service passwords as required.
> Strangely I also have a POSTHTTP in the same flow using the same SSL
> context and it loads and starts without any problems.
> Can anyone help?
> Many thanksDave
Re: Setting up an SSL context in Minifi 0.3.0
Posted by Aldrin Piri <al...@gmail.com>.
Hi David,
Had a couple of fixes [1][2] to remedy similar issues but would be
interested in seeing your configuration to see if we are missing
something. Would you mind please opening up a JIRA (
https://issues.apache.org/jira/projects/MINIFI/issues) with as much of
template, config.yml, and logs as possible for your instance exhibiting
problems. Please be mindful to strip out any sensitive information.
[1] https://issues.apache.org/jira/browse/MINIFI-408
[2] https://issues.apache.org/jira/browse/MINIFI-403
Thanks,
Aldrin
On Thu, Jan 18, 2018 at 10:56 AM, DAVID SMITH <da...@btinternet.com>
wrote:
> Hi
> I put up a post a little while ago, because I was having trouble getting
> an SSL context working in Minifi 0.2.0Aldrin advised to wait until 0.3.0
> came out as some dev work had been done in this area.
> I have trying it again today and still cannot get an SSL context to work
> in a ListenHTTP processor, I get an illegalStateException in the ListenHTTP
> processor and it never starts. It says the SSL Context service validated
> against <UUID> is invalid because Invalid Controller service is not a valid
> controller service or does not reference the correct type of controller
> service.
> The NifI (1.3) that I set up the flow on before templating it is on the
> same VM and using the same keystore, the flow works without any problem in
> NiFi. Iused the Minifi 0.3.0 toolkit to convert the template into the yml
> file and I have populated the controller service passwords as required.
> Strangely I also have a POSTHTTP in the same flow using the same SSL
> context and it loads and starts without any problems.
> Can anyone help?
> Many thanksDave