< Back
New-NScertificate
Post
NAME New-NScertificate
SYNOPSIS
The new-nscertificate command creates a certificate based on existing certificate and key file.
SYNTAX
New-NScertificate -certificate <string> -name <string> [-key <string>] [-returnobject <SwitchParameter>] [-session
<nitro_service>] [<CommonParameters>]
DESCRIPTION
The new-nscertificate command creates a certificate based on existing certificate and key file.
PARAMETERS
-session <nitro_service>
This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and
pipelined into this command.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-name <string>
Provide the name of the certificate in NetScaler.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-certificate <string>
Provide the cert file name. Must match the file installed on /nsconfig/ssl
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-key <string>
Provide the name of the private key file. Must match the file installed on /nsconfig/sll
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-returnobject <SwitchParameter>
If set to true, the object that is created is returned. This is useful to testing purposes.
Required? false
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
com.citrix.netscaler.nitro.service.nitro_service
This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and
pipelined into this command.
System.String
Provide the name of the certificate in NetScaler.
System.String
Provide the cert file name. Must match the file installed on /nsconfig/ssl
System.String
Provide the name of the private key file. Must match the file installed on /nsconfig/sll
System.Management.Automation.SwitchParameter
If set to true, the object that is created is returned. This is useful to testing purposes.
OUTPUTS
com.citrix.netscaler.nitro.resource.config.ssl.sslcertkey
RELATED LINKS
SYNOPSIS
The new-nscertificate command creates a certificate based on existing certificate and key file.
SYNTAX
New-NScertificate -certificate <string> -name <string> [-key <string>] [-returnobject <SwitchParameter>] [-session
<nitro_service>] [<CommonParameters>]
DESCRIPTION
The new-nscertificate command creates a certificate based on existing certificate and key file.
PARAMETERS
-session <nitro_service>
This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and
pipelined into this command.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-name <string>
Provide the name of the certificate in NetScaler.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-certificate <string>
Provide the cert file name. Must match the file installed on /nsconfig/ssl
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-key <string>
Provide the name of the private key file. Must match the file installed on /nsconfig/sll
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-returnobject <SwitchParameter>
If set to true, the object that is created is returned. This is useful to testing purposes.
Required? false
Position? named
Default value False
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
com.citrix.netscaler.nitro.service.nitro_service
This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and
pipelined into this command.
System.String
Provide the name of the certificate in NetScaler.
System.String
Provide the cert file name. Must match the file installed on /nsconfig/ssl
System.String
Provide the name of the private key file. Must match the file installed on /nsconfig/sll
System.Management.Automation.SwitchParameter
If set to true, the object that is created is returned. This is useful to testing purposes.
OUTPUTS
com.citrix.netscaler.nitro.resource.config.ssl.sslcertkey
RELATED LINKS