<?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[TLS connection to backend database]]></title><description><![CDATA[<p dir="auto">I have Netxms 3.8 installed on Debian 10.  On a separate machine, I have MariaDB 10.5 installed on Debian 10. (I used DEBs from MariaDB repo)  I'd like to force TLS between NetXMS Server &amp; MariaDB Server.  I have MariaDB setup with SSL enabled:</p>
<pre><code>MariaDB [(none)]&gt; show global variables like '%ssl%';
+---------------------+--------------------------------+
| Variable_name       | Value                          |
+---------------------+--------------------------------+
| have_openssl        | YES                            |
| have_ssl            | YES                            |
| ssl_ca              | /etc/mysql/ssl/ca.pem          |
| ssl_capath          |                                |
| ssl_cert            | /etc/mysql/ssl/server-cert.pem |
| ssl_cipher          |                                |
| ssl_crl             |                                |
| ssl_crlpath         |                                |
| ssl_key             | /etc/mysql/ssl/server-key.pem  |
| version_ssl_library | OpenSSL 1.1.1d  10 Sep 2019    |
+---------------------+--------------------------------+
</code></pre>
<p dir="auto">and created the database and user:</p>
<pre><code>MariaDB [(none)]&gt; show grants for netxms@netxms.mgmt.lan;
+---------------------------------------------------------------------+
| Grants for netxms@netxms.mgmt.lan                                   |
+---------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `netxms`@`netxms.mgmt.lan` REQUIRE X509       |
| GRANT ALL PRIVILEGES ON `db_netxms`.* TO `netxms`@`netxms.mgmt.lan` |
+---------------------------------------------------------------------+
</code></pre>
<p dir="auto">Here is my NetXMS configuration:</p>
<pre><code>## Logging
# Log file name
LogFile=/var/log/netxmsd

# Increase logging verbosity, 0 (only errors) to 9 (verbose debug)
DebugLevel=0

## Database configuration.
DBDriver=mariadb.ddr
DBServer=mariadb.mgmt.lan
DBName=db_netxms
DBLogin=netxms
DBPassword=
</code></pre>
<p dir="auto">But I can't seem to get a connection working.  NXDBMGR INIT tells me Access denied, probably because it's not presenting the X509 cert &amp; key to MariaDB. Where do I drop my user cert &amp; key in NetXMS, and how do I configure mariadb driver to use X509?</p>
]]></description><link>https://forum.netxms.org/topic/7050/tls-connection-to-backend-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:04:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7050.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 May 2021 23:13:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TLS connection to backend database on Mon, 17 May 2021 07:47:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">You can turn on TLS in driver by adding</p>
<p dir="auto">DBDrvParams = enforceTLS=true</p>
<p dir="auto">to netxmsd.conf. User authentication with X.509 certificates is not supported.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30001</link><guid isPermaLink="true">https://forum.netxms.org/post/30001</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 17 May 2021 07:47:48 GMT</pubDate></item></channel></rss>