Re: My nifi no more serve admin interface

2019-08-15 Thread Andy LoPresto
I think in general it’s hard for us to know when a bad keystore is provided until a connection tries to come in because a lot of that is delegated to Jetty. There was talk previously about a “keystore checker” toolkit feature which would look at the complete provided configuration for TLS and

Re: My nifi no more serve admin interface

2019-08-14 Thread Edward Armes
Hmm, I wonder if there's a change that could be made to expose this error so its a bit more obvious, maybe one for the Dev mailing list? Edward On Wed, Aug 14, 2019 at 3:12 PM Pierre Villard wrote: > Glad you sorted it out and thanks for letting us know! > In case you missed it, you might be

Re: My nifi no more serve admin interface

2019-08-14 Thread Pierre Villard
Glad you sorted it out and thanks for letting us know! In case you missed it, you might be interested by the NiFi toolkit [1] containing a TLS toolkit to help you with certificates [2]. [1] https://nifi.apache.org/download.html [2]

Re: My nifi no more serve admin interface

2019-08-14 Thread Nicolas Delsaux
Oh damn It appeared (after a long search) that my keystore was incorrectly built. Indeed, it contained the server certificate as a trusted certificate, where it should had been a key pair (with both private and public keys in) as is explained in Jetty documentation

Re: My nifi no more serve admin interface

2019-08-14 Thread Edward Armes
Hi Nicolas, This is another dump question. As I've only ever seen this before when I've accidentally connect to a secured Nifi cluster over HTTP and not HTTPS. >From I've seen Nifi won't ask your browser to do a connection upgrade (HTTP -> HTTPS), When you type in the address are you sure your

Re: My nifi no more serve admin interface

2019-08-13 Thread Nicolas Delsaux
oh, sorry, I forgot to mention i use the nifi docker image, with configuration services: nifi-runner: hostname: nifi-psh.adeo.com image: apache/nifi:1.9.2 ports: - "38080:8443" - "5000:8000" volumes: - ${project.basedir}/target/docker-compose/includes/nifi/node/conf:/opt/nifi/nifi-current/conf -

Re: My nifi no more serve admin interface

2019-08-13 Thread Pierre Villard
Might be a dumb question but I'm wondering why you're trying with port 38080? Did you change the configuration to use that specific port with a secured instance? Pierre Le mar. 13 août 2019 à 16:00, Nicolas Delsaux a écrit : > To go a little further, a test with openssl s_client gives the

Re: My nifi no more serve admin interface

2019-08-13 Thread Nicolas Delsaux
To go a little further, a test with openssl s_client gives the following nicolas-delsaux@NICOLASDELSAUX C:\Users\nicolas-delsaux $ openssl s_client -host localhost -port 38080 CONNECTED(0164) 416:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake

My nifi no more serve admin interface

2019-08-13 Thread Nicolas Delsaux
I'm currently trying to implement ldap user group authorization in nifi. For that, I've deployed nifi docker image with configuration files containing required config elements (a ldap identity provider, a ldap user group provider). I've also configured https with a keystore/truststore that are