<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrfutil toolchain-manager &amp;quot;Error: Failed to retrieve toolchain-index&amp;quot; due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108001/nrfutil-toolchain-manager-error-failed-to-retrieve-toolchain-index-due-to-corporate-ssl-tls-inspection</link><description>Could you provide details on how the nrfutil toolchain-manager makes its internet requests? Or even better, how to add certificates to be trusted in making its TLS connections? 
 Our corporate internet security systems are causing the connections to fail</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2024 12:31:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108001/nrfutil-toolchain-manager-error-failed-to-retrieve-toolchain-index-due-to-corporate-ssl-tls-inspection" /><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/475898?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 12:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf41f247-18c7-4ba8-8300-d04458c4259e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/ntgabriel"&gt;ntgabriel&lt;/a&gt; ,&lt;br /&gt;&lt;br /&gt;Thank you for the update.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/475704?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 14:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0707f4f4-d0d4-460a-b697-1dd5e89714d2</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;!&amp;nbsp; Appreciate this being updated in the main toolchain-manager.&amp;nbsp; This does indeed work in conjunction with the SSL_CERT_FILE environment variable to use a custom certificate bundle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/472512?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2024 14:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7022d09-310f-4c96-aa63-6db96c3ed63a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;We have released new version which contains updates included in previously provided exe/binary (solving problem with native certificates) and fix for proxy networks. It can be installed using&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-util"&gt;nrfutil&lt;/a&gt;&amp;nbsp;command &amp;quot;nrfutil install toolchain-manager&amp;quot;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468466?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 16:37:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7190c9f1-b001-4c2a-8859-25d6e3e50796</guid><dc:creator>jgilles</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hardy"&gt;rgrr2&lt;/a&gt;&amp;nbsp;The new toolchain-manager binary worked for me because I wasn&amp;#39;t having proxy-related connections problems (this is a separate issue).&amp;nbsp; I am behind a corporate TLS inspection system that requires installation of company-specific root certs for clients to trust or cert validation fails.&amp;nbsp; The new binary is successfully using the locally installed trusted certs, the released one does not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468354?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 09:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d0e3df4-ada0-49b4-a418-0d366986ebdd</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Unfortunately this version still does not obey to the proxy setup.&amp;nbsp; Don&amp;#39;t know how &lt;a href="https://devzone.nordicsemi.com/members/jgilles"&gt;jgilles&lt;/a&gt;&amp;nbsp; did it&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#54ff54;font-weight:bold;"&gt;hardy@debian-hardy&lt;/span&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;:&lt;/span&gt;&lt;span style="background-color:#ffffff;color:#5454ff;font-weight:bold;"&gt;~/.nrfutil/bin&lt;/span&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;$ nrfutil --detect-proxy --log-level=trace --log-output=stdout --json toolchain-manager search &lt;/span&gt;&lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;nrfutil (version = 7.7.0, platform = x86_64-unknown-linux-gnu) invoked with --detect-proxy --log-level=trace --log-output=stdout --json toolchain-manager search &amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.296Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Trying to detect proxy configuration automatically...&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.296Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Using proxy helper program from &amp;#39;/home/hardy/.nrfutil/proxy_utils/proxy&amp;#39;&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.296Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Running &amp;#39;/home/hardy/.nrfutil/proxy_utils/proxy developer.nordicsemi.com&amp;#39; to detect proxy configuration&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.296Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Proxy configuration detected&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.297Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;DEBUG&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Setting environment variable NRFUTIL_EXEC_PATH to /home/hardy/.nrfutil/bin/nrfutil for subcommand `toolchain-manager`&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.297Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;nrfutil-toolchain-manager (version = 0.14.1, platform = x86_64-unknown-linux-gnu) invoked with --json --log-level TRACE --log-output stdout search &amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.300Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;DEBUG&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Constructing the configuration from the defaults&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.300Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;DEBUG&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Current config: Config { install_dir: \&amp;quot;/home/hardy/ncs\&amp;quot;, toolchain_index: None }&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.300Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Downloading from &lt;a href="https://developer.nordicsemi.com/.pc-tools/toolchain-v3/index-linux-x86_64.json"&gt;&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.300Z&amp;quot;}}&amp;quot;&amp;gt;developer.nordicsemi.com/.../index-linux-x86_64.json&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.300Z&amp;quot;}}&lt;/a&gt; &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;DEBUG&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;connecting to developer.nordicsemi.com:443 at 104.20.251.111:443&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:21.326Z&amp;quot;}} &lt;br /&gt;{&amp;quot;type&amp;quot;:&amp;quot;log&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;level&amp;quot;:&amp;quot;INFO&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;Failed to retrieve cached index: Failed to get cache&amp;quot;,&amp;quot;timestamp&amp;quot;:&amp;quot;2024-02-12T09:33:51.331Z&amp;quot;}} &lt;br /&gt;Error: Failed to retrieve toolchain-index &lt;br /&gt; &lt;br /&gt;Caused by: &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;0: Failed to download index &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;1: Get request failed &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;2: &lt;a href="https://developer.nordicsemi.com/.pc-tools/toolchain-v3/index-linux-x86_64.json:"&gt;developer.nordicsemi.com/.../index-linux-x86_64.json:&lt;/a&gt; Network Error: timed out reading response &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;3: timed out reading response&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468262?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 16:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd643408-122d-47bb-a3df-0ab17bf7d335</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;Thanks to you and the development team for your help with this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468261?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 15:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f25289a6-bb5e-4102-b714-498db5208b52</guid><dc:creator>jgilles</dc:creator><description>&lt;p&gt;This linux binary works for me and doesn&amp;#39;t require setting SSL_CERT_FILE since I have added the required certs using update-ca-certificates in Ubuntu.&amp;nbsp; Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468168?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 09:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a2617c-4556-4909-8ebf-38e9eecfa216</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/ntgabriel"&gt;ntgabriel&lt;/a&gt;&amp;nbsp;and &lt;a href="https://devzone.nordicsemi.com/members/hardy"&gt;rgrr2&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Hardy"]Any chance for a Linux version which also obeys proxy rules?[/quote]
&lt;p&gt;Please find attached Linux binary file (inside provided zip file) which should work in a similar way as previously provided file for Windows. Please note that this is not yet an official version. The same considerations apply as for the Windows file. You would need to test it and verify that it works for you.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3808.nrfutil_2D00_toolchain_2D00_manager.zip"&gt;devzone.nordicsemi.com/.../3808.nrfutil_2D00_toolchain_2D00_manager.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="ntgabriel"]What&amp;#39;s your plan for incorporating this change into the nrfutil / toolchain-manager release?[/quote]
&lt;p&gt;For a specific plan or timeline regarding the official release with changes, please contact your regional sales manager.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468145?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 22:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677b5087-443f-4656-a4e5-50ea88d27636</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;Indeed, yes that custom nrfutil-toolchain-manager.exe works if I point the SSL_CERT_FILE to the certificate file I use for other dev tools, thank you!&lt;/p&gt;
&lt;p&gt;At first I&amp;nbsp;called it directly, for initial testing, then I also temporarily replaced the&amp;nbsp;~\.nrfutil\bin\nrfutil-toolchain-manager.exe with it for now too, to try this within nrfutil calls, and that works now too.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s your plan for incorporating this change into the nrfutil / toolchain-manager release?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or even better perhaps, to incorporate a change to allow use of the OS-native certificate store?&amp;nbsp; (The certs I&amp;#39;m passing into this custom exe via SSL_CERT_FILE are in&amp;nbsp;the OS cert store already.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468105?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 15:07:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c410b7f-5fbd-4747-835e-688b37f4815c</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;I can confirm, that (for me) this solves the certificate issues under Windows.&amp;nbsp; Any chance for a Linux version which also obeys proxy rules?&lt;br /&gt;&lt;br /&gt;PS: but I&amp;#39;m just the &amp;quot;hijacker&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/468064?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 13:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8ab9cc6-5e66-4ff4-89e7-4dd9d99b140d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have asked internally. You can find exe file inside attached&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3755.nrfutil_2D00_toolchain_2D00_manager.zip"&gt;devzone.nordicsemi.com/.../3755.nrfutil_2D00_toolchain_2D00_manager.zip&lt;/a&gt;&amp;nbsp;which you could try out. The file should work out-of-the-box. Note that the file is provided as is, for testing purpose, and without any guarantee to be working.&amp;nbsp;The file has not been tested with proxy, and thus might not work with proxy. However, it seems that the file picks up on the SSL_CERT_FILE environment variable.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467983?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 20:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b09afc82-e5e1-490c-9bf5-8ea1d83f847c</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;You can get one step further by doing the following (at least if &amp;quot;git clone&amp;quot; works in your environment):&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;nbsp; mkdir tmp&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&amp;nbsp; cd tmp&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&amp;nbsp; git clone &lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&lt;a href="https://github.com/nordicsemiconductor/nrfutil-package-index"&gt;github.com/.../nrfutil-package-index&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp; cd nrfutil-package-index&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&amp;nbsp; NRFUTIL_NET_GIT_FETCH_WITH_CLI=true NRFUTIL_PACKAGE_INDEX_URL=&lt;a href="https://github.com/nordicsemiconductor/nrfutil-package-index"&gt;github.com/.../nrfutil-package-index&lt;/a&gt; nrfutil +myconfig search&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&amp;nbsp; nrfutil +myconfig install toolchain-manager&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&lt;br /&gt;&lt;br /&gt;But then &amp;quot;nrfutil +myconfig toolchain-manager search&amp;quot; is the next dead end :-/&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;To my opinion proxy environment has never been tested for the tools although I guess the majority of developers is sitting behind a proxy.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467979?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 18:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c6627f8-7348-4cbe-af4f-d38b72b04d5d</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Thanks for the input.&amp;nbsp; Could you say more about how you get or are interpreting the trace output of nrfutil you are referring to?&amp;nbsp; I&amp;#39;m not seeing any reference to any environment variable in the trace logs I&amp;#39;m getting.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m doing this (WIndows cmd):&lt;/p&gt;
&lt;p&gt;nrfutil toolchain-manager search --log-level trace&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I get notable extra info at trace level, mostly comprising a few TLS message payloads being sent to the server, but doesn&amp;#39;t seem to say anything about local certificates or reference the names or contents of environment variables AFAIK.&amp;nbsp; I&amp;#39;d say the only thing useful to me in this trace log so far is a line near the end which gives me a list of 3 DER-encoded server certificates, right before it fails.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[2024-02-07T17:17:38.621Z] [nrfutil-toolchain-manager] TRACE - Server cert is&amp;nbsp;[Certificate(b"..."), Certificate(b"..."), Certificate(b"...")]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467978?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 18:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a972fe71-3283-48b9-b2dc-627c264c92f0</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Closing this loop somewhat, as a test I did try to use the 3 certificates reported in the nrfutil toolchain-manager search trace log in a .pem file pointed to by `SSL_CERT_FILE` environment variable, since they do appear to be different certs than the &amp;quot;usual&amp;quot; ones we use for other dev tools and our internet security software.&amp;nbsp; Unfortunately it didn&amp;#39;t change the behavior.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And since those 3 certs do seem to be missing my company&amp;#39;s root certificate from the chain, I also tried a variation where I appended that root certificate to the .pem file, also not effective.&lt;/p&gt;
&lt;p&gt;FWIW I&amp;#39;m a Python user, so I found the Python ssl module useful in this, especially to convert the DER-encoded certificates in the nrfutil log file into ASCII/Base64 PEM certs.&amp;nbsp;&amp;nbsp;&lt;a href="https://docs.python.org/3/library/ssl.html#certificate-handling"&gt;https://docs.python.org/3/library/ssl.html#certificate-handling&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;ssl.DER_cert_to_PEM_cert()&lt;/pre&gt;
&lt;p&gt;I also tried one other variation on this theme, using the certificate chain I can export from my web browser and combine into a .pem file, and pointed to that series of certs with SSL_CERT_FILE instead.&amp;nbsp; None of this changes the behavior either.&lt;/p&gt;
&lt;p&gt;So it is still unclear to me whether `SSL_CERT_FILE` is doing anything or not (as rgrr2 is suggesting), and/or if I still haven&amp;#39;t gotten the certs right.&amp;nbsp; The trace logs I get don&amp;#39;t seem to indicate that.&lt;/p&gt;
&lt;p&gt;A related observation I don&amp;#39;t know what to do with is it seems like I have three different ways (3 different sets of certs) to attempt the same thing:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I have a series of corporate certificates that work for other developer tools (root, CA, intermediate).&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Or the series of (similar but different) corporate certificates that the nrfutil trace log reports to encounter before failing.&lt;/li&gt;
&lt;li&gt;Or the series of (again similar yet different) corporate certificates that the web browser reports.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Each of these fit the expected pattern of the internet security software we have in place (a corporate root cert, a corporate CA cert, a corporate intermediate cert), but it is puzzling to me that none of the certificates at each level seem to be equivalent when I would otherwise say I am trying to do the same thing in 3 different ways.&amp;nbsp; Same type of cert (issuer/subject names), but apparently not literally same cert.&amp;nbsp; This&amp;nbsp;could&amp;nbsp;be my lack of understanding of DER-PEM conversion, or it could make sense given multiple ways to attempt to make a TLS connection, but it at least complicates my testing as it gives me more combinations of custom certs to try with a given approach.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467900?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 11:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e76f7609-f305-4757-8b2a-0549c3cf03a2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/ntgabriel"&gt;ntgabriel&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;The nrf toolchain manager does not use OpenSSL. &lt;br /&gt;Unfortunately, there might not be a way to replace underlying libraries.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467860?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 09:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18c4172b-a4a2-4e00-8150-cbe5d4095b55</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Don&amp;#39;t want to hijack this, but I&amp;#39;m stuck at almost the same place.&amp;nbsp; If one can trust the trace output of nrfutil, then the SSL_CERT_FILE environment variable is never accessed (NRFUTIL_REGISTRY_INDEX, NRFUTIL_SOURCE, NRFUTIL_HTTP, NRFUTIL_NET are used).&lt;/p&gt;
&lt;p&gt;Perhaps modifiers using git-cli could be of any help?&amp;nbsp; See `nrfutil --help-extended`.&amp;nbsp; But it seems to me, that modifier handling is quite complicated because one has to clone &lt;a id="" href="https://github.com/nordicsemiconductor/nrfutil-package-index"&gt;https://github.com/nordicsemiconductor/nrfutil-package-index&lt;/a&gt; and then call nrfutil from the created directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467815?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 20:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a40340e-22b9-4eca-b7b6-ec2f13a654f0</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Thanks for the suggestion, I did try to set that environment variable to point to a .pem file, but unfortunately it doesn&amp;#39;t change the outcome of a &amp;#39;nrfutil toolchain-manager search&amp;#39; attempt.&lt;/p&gt;
&lt;p&gt;I tried a few different combinations for the .pem file: pointing to&amp;nbsp;our existing custom certificate .pem bundle as we use with some other developer tools,&amp;nbsp;or by&amp;nbsp;appending those two GoDaddy G2 certificates from the provided link into our custom .pem file (note 1 of the 2 GoDaddy certs was already in there anyway).&amp;nbsp; For good measure I tried also pointing it to a simple .pem file with only those 2 GoDaddy certs in it even though I figured that wouldn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;I turned on the `--log-level trace` to try to see more details of what is going wrong.&amp;nbsp; Not immediately clear, but in all cases it does report the &amp;quot;Server cert&amp;quot; right before it fails, each time giving it as a list of what looks like 3 sets of certificates (always the same).&amp;nbsp; Each &amp;quot;Certificate()&amp;quot; seems to be a mix of hex-encoded bytes and some human readable where I see references to my company&amp;#39;s domain, to a domain of an internet-security software we use, and to nordicsemi.com.&amp;nbsp; I&amp;#39;ll see if I can compare those certificates to what is in our .pem file and see what might be missing...&lt;/p&gt;
&lt;p&gt;Since &amp;#39;SSL_CERT_FILE&amp;#39; is involved, is&amp;nbsp;nrfutil toolchain-manager using OpenSSL?&amp;nbsp; If so, is there a way to ask it to use the Windows secure channel library instead?&amp;nbsp; For example, like Git can be set to use &amp;#39;schannel&amp;#39; on Windows instead of &amp;#39;openssl&amp;#39; (&lt;a id="" href="https://stackoverflow.com/questions/62456484/whats-the-difference-between-openssl-and-the-native-windows-secure-channel-libr"&gt;https://stackoverflow.com/questions/62456484/whats-the-difference-between-openssl-and-the-native-windows-secure-channel-libr&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467743?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 12:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f40a5c85-52aa-4f98-99db-913be4e35c62</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;If the SSL_CERT_FILE environment variable is set, certificates (in PEM format) are read from that file.&lt;br /&gt;You could also use this&amp;nbsp;&lt;a href="https://certs.godaddy.com/repository/gd_bundle-g2.crt"&gt;file&lt;/a&gt;&amp;nbsp;which has crt extension, but it is in PEM format.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467649?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 18:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d74f626c-6d0e-4d55-b302-ae2d2e2df81f</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Yes, I could try that, I do have a .pem file ready to try that has the needed custom certificates in it.&amp;nbsp; How do I tell nrfutil toolchain-manager about these extra certificates?&lt;/p&gt;
&lt;p&gt;Just as one example, if it were Python&amp;nbsp;pip or requests making the network call, we can do this certificate modification via a Windows environment variable `REQUESTS_CA_BUNDLE` that gives a path to the custom .pem file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467545?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 11:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32efabf1-019f-4054-a403-24a271fb83bc</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you try to use .pem file with your certificate chain?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467417?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 16:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e083784-5bae-4eff-964d-a821d5ef244b</guid><dc:creator>ntgabriel</dc:creator><description>&lt;p&gt;Thanks for the response.&amp;nbsp; No, this is directly in Windows.&amp;nbsp; We need to find a way to add our certificates into the network call(s) that nrfutil toolchain-manager is making.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil toolchain-manager "Error: Failed to retrieve toolchain-index" due to corporate SSL/TLS inspection</title><link>https://devzone.nordicsemi.com/thread/467402?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 14:41:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd9c48c-f2e7-430d-83b9-9f5358a8ed6f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you use WSL or virtual machine? If so, this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107191/error-failed-to-retrieve-toolchain-index-in-ubuntu-wsl"&gt;discussion&lt;/a&gt;&amp;nbsp;might be relevant.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>