<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[agent tunneling]]></title><description><![CDATA[<p dir="auto">Hey</p>
<p dir="auto">i've googled, and search the forum, but I have not really found anything that makes sense in how to solve this error.</p>
<p dir="auto">I've requested a certificate at godaddy and exported it as PFX<br />
I've the converted it to PEM using<br />
openssl pkcs12 -in cert.pfx -out cert.cer -nodes</p>
<p dir="auto">Now, no matter how i try and feed in the result in netxmsd.conf get the same error<br />
Cannot load server certificate from C:\NetXMS\etc\cert.cer (error:0906D06C:PEM routines:PEM_read_bio:no start line)</p>
<p dir="auto">The guide at <a href="https://wiki.netxms.org/wiki/How_to_configure_agent_to_server_connection" rel="nofollow ugc">https://wiki.netxms.org/wiki/How_to_configure_agent_to_server_connection</a> isnt really helpfull here. Password ? PEM files doesnt have password. And CA should that be godaddy's cafile or the public key from the PEM file ?<br />
if i save the public and private key in seperate files and fill in, it fails. If i use the raw PEM file it fails<br />
I triede saving in Linux and Windows format, and it still failes.<br />
I've added "Everyone" with fullcontrol on all files, and it still fails ...</p>
<p dir="auto">*ANY* hint where to look would be greatly appreciated</p>
<p dir="auto">Not sure if its related, but "NetXMS Core" refuses to start. IT runs fine from a console, both with windows authentication and SQL login in netxmsd.conf</p>
]]></description><link>https://forum.netxms.org/topic/5172/agent-tunneling</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:58:51 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5172.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Jul 2017 14:29:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to agent tunneling on Tue, 08 Aug 2017 14:49:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">yes, certificates should be in PEM format, even on Windows.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/22858</link><guid isPermaLink="true">https://forum.netxms.org/post/22858</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 08 Aug 2017 14:49:52 GMT</pubDate></item><item><title><![CDATA[Reply to agent tunneling on Thu, 03 Aug 2017 22:18:28 GMT]]></title><description><![CDATA[<p dir="auto">We're running on Linux, so no conversion required here. Looks like PEM to me.</p>
<p dir="auto"><strong>ServerCACertificate</strong> points at the actual CA root certificate.<br />
<strong>ServerCertificate</strong> is the intermediate certificate I created from that root. This intermediate certificate consists of the certificate and private key.<br />
The password for that private key is stored in netxmsd.conf under <strong>ServerCertificatePassword</strong>.</p>
<p dir="auto">The intermediate/ServerCertificate certificate looks like this:</p>
<pre><code>-----BEGIN CERTIFICATE-----
[..]
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
[..]
-----END RSA PRIVATE KEY-----
</code></pre>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/22838</link><guid isPermaLink="true">https://forum.netxms.org/post/22838</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Thu, 03 Aug 2017 22:18:28 GMT</pubDate></item><item><title><![CDATA[Reply to agent tunneling on Thu, 03 Aug 2017 19:00:32 GMT]]></title><description><![CDATA[<p dir="auto">So, I did some more research. It seems like there may be a compatibility issue? Regardless of whether or not this is running on a Windows server these certificates need to be made using Linux compatibility?</p>
]]></description><link>https://forum.netxms.org/post/22837</link><guid isPermaLink="true">https://forum.netxms.org/post/22837</guid><dc:creator><![CDATA[chris.petree]]></dc:creator><pubDate>Thu, 03 Aug 2017 19:00:32 GMT</pubDate></item><item><title><![CDATA[Reply to agent tunneling on Thu, 03 Aug 2017 18:13:08 GMT]]></title><description><![CDATA[<p dir="auto">Hey Tursiops,<br />
I'm getting the same error, but I did build out the certs on the NetXMS server.<br />
[03-Aug-2017 12:38:36.561] [ERROR] Cannot load server certificate from [location I put in] (error:0906D06C:PEM routines:PEM_read_bio:no start line)<br />
Do you, or anyone else know what "start line" they are looking for? I've seen people post that some certs are written in a sort of XML style, JSON style, example<br />
&lt;ca&gt;<br />
-----BEGIN CERTIFICATE-----<br />
stuff here<br />
-----END CERTIFICATE-----<br />
&lt;/ca&gt;</p>
]]></description><link>https://forum.netxms.org/post/22836</link><guid isPermaLink="true">https://forum.netxms.org/post/22836</guid><dc:creator><![CDATA[chris.petree]]></dc:creator><pubDate>Thu, 03 Aug 2017 18:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to agent tunneling on Tue, 18 Jul 2017 23:26:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You do not need need or want a standard 3rd party CA certificate for NetXMS Agent Tunnels.</p>
<p dir="auto">My guess is your certificate has the same problem I had with my initial certificate attempts:<br />
<em>[..] The latter is presumably meant to sign additional certificates, but my server certificate was not authorised to do that. [..]</em></p>
<p dir="auto">I've run into a few issues of my own while setting this up (it's all running smooth now) and posted my progress notes on the forum here:<br />
<a href="https://www.netxms.org/forum/configuration/agent-to-server-connections/msg22308/#msg22308" rel="nofollow ugc">https://www.netxms.org/forum/configuration/agent-to-server-connections/msg22308/#msg22308</a></p>
<p dir="auto">The certificate on the server is used to sign new certificates for the agents, so they can authenticate to the server.<br />
A standard GoDaddy certificate wouldn't be authorised to do that. There is a link in my post above which points to a guide on how to setup a CA. Together with the remaining notes in the thread, you should be able to get this up and running.</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/22716</link><guid isPermaLink="true">https://forum.netxms.org/post/22716</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Tue, 18 Jul 2017 23:26:02 GMT</pubDate></item></channel></rss>