title: NiFi web ui not open after enabled auth
body: <p>Configured NiFi 1.1.1 version in windows.</p>
  
  <p>I have enabled client certificate auth with the following properties</p>
  
  <p><strong>nifi.properties</strong></p>
  
  <pre><code>nifi.web.war.directory=./lib
  nifi.web.http.host=
  nifi.web.http.port=
  nifi.web.https.host=hostname
  nifi.web.https.port=8080
  nifi.web.jetty.working.directory=./work/jetty
  nifi.web.jetty.threads=200
  
  nifi.security.keystore=./conf/ssl/server.keystore
  nifi.security.keystoreType=JKS
  nifi.security.keystorePasswd=server_password
  nifi.security.keyPasswd=server_keypassword
  nifi.security.truststore=./conf/ssl/server.truststore
  nifi.security.truststoreType=JKS
  nifi.security.truststorePasswd=server_password
  nifi.security.needClientAuth=true
  nifi.security.user.authorizer=file-provider
  nifi.security.user.login.identity.provider=
  nifi.security.ocsp.responder.url=
  nifi.security.ocsp.responder.certificate=
  </code></pre>
  
  <p><strong>authorizers.xml</strong></p>
  
  <pre><code>    &lt;authorizer&gt;
          &lt;identifier&gt;file-provider&lt;/identifier&gt;
          &lt;class&gt;org.apache.nifi.authorization.FileAuthorizer&lt;/class&gt;
          &lt;property name="Authorizations File"&gt;./conf/authorizations.xml&lt;/property&gt;
          &lt;property name="Users File"&gt;./conf/users.xml&lt;/property&gt;
          &lt;property name="Initial Admin Identity"&gt;&lt;/property&gt;
          &lt;property name="Legacy Authorized Users File"&gt;./conf/authorized-users.xml&lt;/property&gt;
  
          &lt;!-- Provide the identity (typically a DN) of each node when clustered, see above description of Node Identity.
          &lt;property name="Node Identity 1"&gt;&lt;/property&gt;
          &lt;property name="Node Identity 2"&gt;&lt;/property&gt;
          --&gt;
      &lt;/authorizer&gt;
  </code></pre>
  
  <p><strong>authorized-users.xml</strong></p>
  
  <pre><code>&lt;users&gt;
      &lt;user dn="CN=Kumar"&gt;
          &lt;role name="ROLE_ADMIN"/&gt;
          &lt;role name="ROLE_DFM"/&gt;
      &lt;/user&gt;
  &lt;/users&gt;
  </code></pre>
  
  <p>Followed <a href="https://unix.stackexchange.com/q/347116">Generating server and client ssl certificates</a></p>
  
  <p>Everything was good. NiFi server started and got logs as UI is available in following URLs:</p>
  
  <p><a href="https://hostname:8080/nifi" rel="nofollow noreferrer">https://hostname:8080/nifi</a></p>
  
  <p>But when i open UI in browser both in firefox and chrome, Nifi web url cannot open and it shows </p>
  
  <p><code>Secure Connection Failed</code> in firefox and <code>This site can’t be reached</code> in chrome</p>
  
  <p>It didn't ask for client certificate.</p>
  
  <p>What i did wrong? How can i achieve this? </p>
  
  <p>Help would be appreciated. Thanks in advance. </p>