|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcSecuritySsl
NAME
Get-NcSecuritySsl
SYNOPSIS
Get the attributes of SSL security.
SYNTAX
Get-NcSecuritySsl [-CommonName <String[]>] [-Vserver <String[]>] [-Attribute
s <VserverSslInfo>] [-VserverContext <String>] [-Controller <NcController[]>
] [<CommonParameters>]
Get-NcSecuritySsl -Template [-VserverContext <String>] [-Controller <NcContr
oller[]>] [<CommonParameters>]
Get-NcSecuritySsl -Query <VserverSslInfo> [-Attributes <VserverSslInfo>] [-V
serverContext <String>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get the attributes of SSL security.
PARAMETERS
-CommonName <String[]>
One or more domain names in FQDN form. Data ONTAP wildcards are permitt
ed.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <VserverSslInfo>
For improved scalability in large clusters, provide a VserverSslInfo obj
ect with various fields set to indicate which fields to return on all ob
jects. Undesired fields should remain set to null. Use "Get-NcSecurity
Ssl -Template" to get the initially empty VserverSslInfo object. If not
specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty VserverSslInfo object for use with advanced quer
ies involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <VserverSslInfo>
For advanced queries, provide a VserverSslInfo object with various field
s set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcSecuritySsl -Template" to get the initially em
pty VserverSslInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.SecuritySsl.VserverSslInfo
NOTES
Category: security ssl
API: security-ssl-get-iter
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Get-NcSecuritySsl -Vserver beam01
Get the SSL security attributes.
CertificateAuthority : beam01.cert
CertificateSerialNumber : 511AAD82
ClientAuthenticationEnabled : False
CommonName : beam01.cert
NcController : 10.63.165.62
ServerAuthenticationEnabled : True
Vserver : beam01
ClientAuthenticationEnabledSpecified : True
ServerAuthenticationEnabledSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcSecuritySsl -Template
$q.ServerAuthenticationEnabled = $true
Get-NcSecuritySsl -Query $q
Get all of the SSL security configurations with server authentication enable
d.
CertificateAuthority : beam01.cert
CertificateSerialNumber : 511AAD82
ClientAuthenticationEnabled : False
CommonName : beam01.cert
NcController : 10.63.165.62
ServerAuthenticationEnabled : True
Vserver : beam01
ClientAuthenticationEnabledSpecified : True
ServerAuthenticationEnabledSpecified : True
CertificateAuthority : beam02.cert
CertificateSerialNumber : 512FBB85
ClientAuthenticationEnabled : False
CommonName : beam02.cert
NcController : 10.63.165.62
ServerAuthenticationEnabled : True
Vserver : beam02
ClientAuthenticationEnabledSpecified : True
ServerAuthenticationEnabledSpecified : True
RELATED LINKS
Set-NcSecuritySsl
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|