<?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>topic Re: How to configure SSL universal forwarder and receiver? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196307#M39055</link>
    <description>&lt;P&gt;Have you generated the private key on the right server ? It looks to me like you generated it on the forwarder ? &lt;/P&gt;

&lt;P&gt;The key generation should be done on the Indexer I believe. &lt;/P&gt;

&lt;P&gt;Derek&lt;/P&gt;</description>
    <pubDate>Wed, 27 Aug 2014 10:21:32 GMT</pubDate>
    <dc:creator>DerekKing</dc:creator>
    <dc:date>2014-08-27T10:21:32Z</dc:date>
    <item>
      <title>How to configure SSL universal forwarder and receiver?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196304#M39052</link>
      <description>&lt;P&gt;hey &lt;/P&gt;

&lt;P&gt;I configure an SSL forward.&lt;BR /&gt;
But I have this error :&lt;/P&gt;

&lt;P&gt;Forwarder - Error :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TcpInputConfig - SSL clause not found or servercert not provided - SSL ports will not be available
ERROR SSLCommon - Can't read certificate file /root/ca/requests/splunk3-key.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line
08-27-2014 09:29:16.110 +0200 ERROR TcpOutputProc - Error initializing SSL context - invalid sslCertPath for server 2.2.2.2:1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Receiver -error :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-27-2014 09:42:16.327 +0200 ERROR SSLCommon - Can't read certificate file /root/ca/extern/splunk3-key.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line
08-27-2014 09:42:16.327 +0200 ERROR TcpInputConfig - SSL server certificate not found, or password is wrong - SSL ports will not be opened
08-27-2014 09:42:16.327 +0200 ERROR TcpInputConfig - SSL context not found. Will not open splunk 2 splunk (SSL) IPv4 port 1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In receiver :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/root/ca/extern/:
-rw------- 1 root root 1919 Aug 27 08:25 cacert.pem
-rw------- 1 root root 1751 Aug 27 08:25 splunk3-key.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp-ssl://1000]
    compressed = true
    connection_host = 1.1.1.1
    queueSize=1MB
    persistentQueueSize=4GB
    _TCP_ROUTING = splunk3-ad

[SSL]
    password = my_password
    requireClientCert = false
    rootCA = /root/ca/extern/cacert.pem
    serverCert = /root/ca/extern/splunk3-key.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In forwarder :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/root/ca/requests:
-rw-r--r-- 1 root root  960 Aug 27 08:15 splunk3-cert.csr
-rw-r--r-- 1 root root    0 Aug 27 08:16 splunk3-cert.pem
-rw-r--r-- 1 root root 1751 Aug 27 08:12 splunk3-key.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
    backoffOnFailure = 5
    channelReapInterval = 60000
    channelReapLowater = 10
    channelTTL = 60
    compressed = true
    defaultGroup = syslog-ad,file-rweb
    dnsResolutionInterval = 300
    negotiateNewProtocol = true
    readTimeout = 900
    useACK = true
    writeTimeout = 5
    indexAndForward = 0

[tcpout:syslog-ad]
    server = 2.2.2.2:1000
    maxQueueSize = 10MB
    dropEventsOnQueueFull = -1
    sslCertPath = /root/ca/requests/splunk3-key.pem
    sslPassword = my_password
    sslRootCAPath = /root/ca/cacert.pem
    usesslCompression = true
    sslVerifyServerCert = false
    #useClientSSLCompression = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Someone have any ideas ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 08:06:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196304#M39052</guid>
      <dc:creator>atixx</dc:creator>
      <dc:date>2014-08-27T08:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure SSL universal forwarder and receiver?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196305#M39053</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I'm not sure on your specific error, but it could be down to missing or incorrectly placed private keys.&lt;/P&gt;

&lt;P&gt;Have a look at this wiki, and see if it helps. I'm sure someone more educated than me will be along to help with more specifics soon.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Community:SplunkWeb_SSL_SelfSignedCert_NewRootCA"&gt;http://wiki.splunk.com/Community:SplunkWeb_SSL_SelfSignedCert_NewRootCA&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Derek&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 08:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196305#M39053</guid>
      <dc:creator>DerekKing</dc:creator>
      <dc:date>2014-08-27T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure SSL universal forwarder and receiver?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196306#M39054</link>
      <description>&lt;P&gt;I try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;mkdir mycerts
export OPENSSL_CNF=/opt/splunkforwarder/openssl/openssl.cnf 
cd mycerts/
openssl genrsa -des3 -out myCAKey.key 2048
openssl req -new -key myCAKey.key -out myCACert.csr
openssl x509 -req -in myCACert.csr -signkey myCAKey.key -out myCACert.pem -days 3650
openssl genrsa -des3 -out slk-private.key 2048
openssl rsa -in slk-private.key -out slk-private.key 
openssl rsa -in slk-private.key -text
openssl req -new -key slk-private.key -out slk-Cert.csr 
openssl x509 -req -in slk-Cert.csr -CA myCACert.pem -CAkey myCAKey.key -CAcreateserial -out slk-Cert.pem -days 1095
cat slk-Cert.pem myCACert.pem &amp;gt; slk-conc-Cert.pem 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And in conf file (outputs), modifying path :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sslCertPath = /opt/splunkforwarder/etc/auth/mycerts/slk-conc-Cert.pem
sslPassword = my_password_no_hash
sslRootCAPath = /opt/splunkforwarder/etc/auth/mycerts/myCACert.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Logs outputs / errors : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-27-2014 11:33:03.403 +0200 ERROR SSLCommon - Can't read key file /opt/splunkforwarder/etc/auth/mycerts/slk-conc-Cert.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line.
08-27-2014 11:33:03.403 +0200 ERROR TcpOutputProc - Error initializing SSL context - invalid sslCertPath for server 2.2.2.2:1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Old erros with old certificates :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TcpInputConfig - SSL clause not found or servercert not provided - SSL ports will not be available
ERROR SSLCommon - Can't read certificate file /root/ca/requests/splunk3-key.pem errno=151441516 error:0906D06C:PEM routines:PEM_read_bio:no start line
08-27-2014 09:29:16.110 +0200 ERROR TcpOutputProc - Error initializing SSL context - invalid sslCertPath for server 2.2.2.2:1000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's better than before, but not working.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:42:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196306#M39054</guid>
      <dc:creator>atixx</dc:creator>
      <dc:date>2014-08-27T09:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure SSL universal forwarder and receiver?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196307#M39055</link>
      <description>&lt;P&gt;Have you generated the private key on the right server ? It looks to me like you generated it on the forwarder ? &lt;/P&gt;

&lt;P&gt;The key generation should be done on the Indexer I believe. &lt;/P&gt;

&lt;P&gt;Derek&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 10:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-SSL-universal-forwarder-and-receiver/m-p/196307#M39055</guid>
      <dc:creator>DerekKing</dc:creator>
      <dc:date>2014-08-27T10:21:32Z</dc:date>
    </item>
  </channel>
</rss>

