<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Why won't HandleHTTPRequest bind to a secure (SSL) port? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Why-won-t-HandleHTTPRequest-bind-to-a-secure-SSL-port/m-p/204666#M166655</link>
    <description>&lt;P&gt;I had the same problem because I would like to reuse keystore created to securized Nifi UI and because of the usage dedicated to Nifi (TLS including client authentication), it can't be simply use to activate TLS.  &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Symptom&lt;/STRONG&gt;: java.net.BindException: Address already in use: bind&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Clue&lt;/STRONG&gt;: If you search for the the first exception, in my case, it was "java.security.UnrecoverableKeyException: Cannot recover key"&lt;BR /&gt;&lt;BR /&gt;So I guess, the server can't get the key even if SSLContext starts correctly and, as the server starts anormally, Nifi tries to restart and then a Bind exception raises.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I just regenerated a very classic jks store &lt;/STRONG&gt;for server authentication usage using &lt;EM&gt;keytool -genkey ...&lt;/EM&gt; and all went like a charm ...&lt;BR /&gt;&lt;BR /&gt;Hope that help&lt;/P&gt;&lt;P&gt;Jean-Louis&lt;/P&gt;,&lt;P&gt;I had the same problem because I would like to reuse keystore created to securized Nifi UI and because of the usage dedicated to Nifi (TLS including client authentication), it can't be simply use to activate TLS.  &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Symptom&lt;/STRONG&gt;: java.net.BindException: Address already in use: bind&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Clue&lt;/STRONG&gt;: If you search for the the first exception, in my case, it was "java.security.UnrecoverableKeyException: Cannot recover key"&lt;/P&gt;&lt;P&gt;So I guess, the server can't get the key even if SSLContext start correctly !!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I just regenerated a very classic jks store&lt;/STRONG&gt; for server authentication usage using &lt;EM&gt;keytool -genkey ...&lt;/EM&gt; and all went like a charm ...&lt;/P&gt;&lt;P&gt;Hope that help&lt;/P&gt;</description>
    <pubDate>Fri, 02 Mar 2018 04:16:45 GMT</pubDate>
    <dc:creator>jlvila</dc:creator>
    <dc:date>2018-03-02T04:16:45Z</dc:date>
  </channel>
</rss>

