NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Microsoft Virtualization Discussions

What is proper syntax for PowerShell toolkit cmdlet "Set-NcSecurityConfig"?

Girton
2,264 Views

What is proper syntax for PowerShell toolkit cmdlet "Set-NcSecurityConfig" for the "SupportedProtocols" parameter for use with ONTAP 9.3?  No matter what I try, I keep getting the following error:

    Set-NcSecurityConfig : Unexpected array element: security-supported-protocols

 

I am using PoweShell Toolkit 4.3.0.0.

 

I've looked at the help for this parameter  for this cmdlet:
    -SupportedProtocols <String[]>
        Data ONTAP Supported Protocols.
        Possible values: "tlsv1_2", "tlsv1_1", "tlsv1" ,"sslv3"

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false

 

I've tried the following and received the same error:

  • Set-NcSecurityConfig -Interface ssl -SupportedProtocols TLSv1.1
  • Set-NcSecurityConfig -Interface ssl -SupportedProtocols "TLSv1.1"
  • Set-NcSecurityConfig -Interface ssl -SupportedProtocols {TLSv1.1}
  • Set-NcSecurityConfig -Interface ssl -SupportedProtocols tlsv1_1
  • Set-NcSecurityConfig -Interface ssl -SupportedProtocols ('tlsv1_1')

 

I've even used the "Get-NcSecurityConfig -Interface ssl" cmdlet, and used the "SupportedProtocols" protocols in the format it returns for the "Set-NcSecurityConfig" command:

{TLSv1.2, TLSv1.1, TLSv1}.

 

I've look for known bugs, existing support cases, Community posts, and haven't found anything  that would help.

 

I'd appreciate any help that could be provided.

0 REPLIES 0
Public