<?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: tls-toolkit.sh client error: &amp;quot;Service client error: null&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/tls-toolkit-sh-client-error-quot-Service-client-error-null/m-p/214908#M74388</link>
    <description>&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;The system that runs tls-toolkit in client mode first attempts to resolve it's hostname. If it receives a SERVFAIL in response, you get the error above.&lt;/P&gt;&lt;P&gt;You can resolve it by either adding a new A record to the DNS server(s), or as a workaround, add an entry to the /etc/hosts file for that system's hostname and IP.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 03:35:58 GMT</pubDate>
    <dc:creator>egramens</dc:creator>
    <dc:date>2018-02-09T03:35:58Z</dc:date>
    <item>
      <title>tls-toolkit.sh client error: "Service client error: null"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/tls-toolkit-sh-client-error-quot-Service-client-error-null/m-p/214907#M74387</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to configure an AWS AMI as a preconfigured NiFi node which is ready to join my existing 3 node NiFi cluster.&lt;/P&gt;&lt;P&gt;I took an image of a working node, where I have successfully ran the tls-toolkit.sh in client mode to point to one of the nodes which is running tls-toolkit in server mode. I've been able to use the toolkit on all 3 working nodes to get a secure cluster up and running.&lt;/P&gt;&lt;P&gt;On a new instance which was deployed using the image of the working node, I'm now trying to run the tls-toolkit in client mode to get a signed cert from the CA node (nifi-01), and am getting the following error:&lt;/P&gt;&lt;PRE&gt;root@ip-10-20-100-82:/etc/nifi/pki# bash /etc/nifi/nifi-toolkit-1.5.0/bin/tls-toolkit.sh client -c nifi-01 -t mytoken -p 10000
Service client error: null
Usage: tls-toolkit service [-h] [args]
Services:
   standalone: Creates certificates and config files for nifi cluster.
   server: Acts as a Certificate Authority that can be used by clients to get Certificates
   client: Generates a private key and gets it signed by the certificate authority.
   status: Checks the status of an HTTPS endpoint by making a GET request using a supplied keystore and truststore.&lt;/PRE&gt;&lt;P&gt;Since this is an image of a working node, everything regarding Java, JAVA_HOME, etc is all exactly the same.&lt;/P&gt;&lt;P&gt;I verified that this new node can resolve and connect to nifi-01 on port 10000. I used tcpdump to watch for traffic between the 2 when running the toolkit, and there is no traffic generated.&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:50:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/tls-toolkit-sh-client-error-quot-Service-client-error-null/m-p/214907#M74387</guid>
      <dc:creator>egramens</dc:creator>
      <dc:date>2022-09-16T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: tls-toolkit.sh client error: "Service client error: null"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/tls-toolkit-sh-client-error-quot-Service-client-error-null/m-p/214908#M74388</link>
      <description>&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;The system that runs tls-toolkit in client mode first attempts to resolve it's hostname. If it receives a SERVFAIL in response, you get the error above.&lt;/P&gt;&lt;P&gt;You can resolve it by either adding a new A record to the DNS server(s), or as a workaround, add an entry to the /etc/hosts file for that system's hostname and IP.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 03:35:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/tls-toolkit-sh-client-error-quot-Service-client-error-null/m-p/214908#M74388</guid>
      <dc:creator>egramens</dc:creator>
      <dc:date>2018-02-09T03:35:58Z</dc:date>
    </item>
  </channel>
</rss>

