<?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: Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78577#M3841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;v1.4 took care of it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(that build was given to us as part of custom built installation script) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 14:04:21 GMT</pubDate>
    <dc:creator>joseconde</dc:creator>
    <dc:date>2011-05-13T14:04:21Z</dc:date>
    <item>
      <title>Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78563#M3839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Running DataONTAP PowerShell v 1.3.0.38 on Windows 2008 SP2 with .NET 3.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If registry entry "HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled" is set to "1", enabled,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and I run the Invoke-NaSSH command on a controller, I get the following .NET error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Session.connect: System.NullReferenceException:Object reference not set to an instance of an object.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Tamir.SharpSsh.jsch.jce.HMACMD5.update(Int32 i)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Tamir.SharpSsh.jsch.Session.read(Buffer buf)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Tamir.SharpSsh.jsch.UserAuth.start(Session session)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Tamir.SharpSsh.jsch.UserAuthNone.start(Session session)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In our test environment, s&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;etting it to "0" yields no such error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Unfortunately, this registry entry is set by our security group in the 2008 images we deploy out in the field &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and disabling it is a no-no.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Is this a problem with Tamir.SharpSsh.jsch package or with how a call is made or something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;-Jose&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:55:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78563#M3839</guid>
      <dc:creator>joseconde</dc:creator>
      <dc:date>2025-06-05T06:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78568#M3840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jose.&amp;nbsp; The released build of Toolkit 1.3 was 1.3.0.130.&amp;nbsp; How did you get such an early build?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FIPS algorithm issues were reported during internal beta testing of Toolkit 1.3, and I fixed them before release.&amp;nbsp; In any case, with FIPS enabled on my development system (Windows Server 2008 R2), Invoke-NaSsh in Toolkit 1.3 and later works.&amp;nbsp; Would you please download Toolkit 1.4 and report whether that works for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 23:01:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78568#M3840</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-05-12T23:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78577#M3841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;v1.4 took care of it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(that build was given to us as part of custom built installation script) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 14:04:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78577#M3841</guid>
      <dc:creator>joseconde</dc:creator>
      <dc:date>2011-05-13T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78581#M3842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like going to v1.4 broke my storage configuration script.&lt;/P&gt;&lt;P&gt;That early build toolkit given to us also included a "Invoke-NaSystemCli" cmdlet which I used extensively throughout my configuration script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance of putting that cmdlet back?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, I'll have to go back to the toolkit I was using.&amp;nbsp; I'm thinking I can just disable then enable that registry entry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$RegKey ="HKLM:\System\CurrentControlSet\Control\Lsa"&lt;BR /&gt;Set-ItemProperty -path $RegKey -name FIPSAlgorithmPolicy&amp;nbsp; -value 0 (or 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 17:10:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78581#M3842</guid>
      <dc:creator>joseconde</dc:creator>
      <dc:date>2011-05-13T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NaSSH and FipsAlgorithmPolicy Enabled = .NET error</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78587#M3843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The system-cli API is unsupported, so I'm afraid we can't ship that cmdlet.&amp;nbsp; But all is not lost.&amp;nbsp; v1.4 adds a more generic cmdlet, Invoke-NaSystemApi, from which you could roll your own script cmdlet fairly easily.&amp;nbsp; Just be careful using unsupported APIs!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 17:17:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NaSSH-and-FipsAlgorithmPolicy-Enabled-NET-error/m-p/78587#M3843</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-05-13T17:17:26Z</dc:date>
    </item>
  </channel>
</rss>

