Windows PowerShell command on Get-command Add-NetIPHttpsCertBinding
MyWebUniversity

Windows PowerShell command on Get-command Add-NetIPHttpsCertBinding

NAME

Add-NetIPHttpsCertBinding

SYNOPSIS

Binds an SSL certificate to an IP-HTTPS server.

SYNTAX

Add-NetIPHttpsCertBinding [-AsJob] [-CimSession ] [-ThrottleLimit ] -ApplicationId

-CertificateHash -CertificateStoreName -IpPort -NullEncryption [-Confirm]

[-WhatIf] []

DESCRIPTION

The Add-NetIPHttpsCertBinding cmdlet binds an SSL certificate to an IP-HTTPS server.

This cmdlet does not work if there is already a certificate binding on the computer.

This cmdlet is similar to the netsh http add sslcert command, but the cmdlet should only be used for IP-HTTPS.

PARAMETERS

-ApplicationId

Specifies the GUID to identify the application. Required? true Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-AsJob []

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You

can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get

the job results, use the Receive-Job cmdlet.

For more information about Windows PowerShellr background jobs, see about_Jobs. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-CertificateHash

Specifies the SHA hashing of the certificate. This hash is 20 bytes long, and you must specify this value as a hexadecimal string. Required? true Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-CertificateStoreName

Specifies the store name for the certificate.

This parameter defaults to MY for IP-based configurations.

This parameter is required. You must store the certificate in the local system context. Required? true Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such

as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local

computer. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-IpPort

Specifies the IP address and the port for the binding. This parameter value should match the format 0.0.0.0:443. Required? true Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-NullEncryption

Allows the usage of IP-HTTPS without SSL encryption, if the parameter value is True.

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

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false

-Confirm []

Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false

-WhatIf []

Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false 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

None This cmdlet accepts no input objects.

OUTPUTS

None

Example 1: Add an SSL certificate

PS C:\>Add-NetIPHttpsCertBinding -IpPort "10.1.1.1:443" -CertificateHash

"0102030405060708090A0B0C0D0E0F1011121314" -CertifcateStoreName "my" -ApplicationId

"{3F2504E0-4F89-11D3-9A0C-0305E82C3301}" -NullEncryption $false

This command binds an SSL certificate with the specified IP port 10.1.1.1:443, SHA hash

0102030405060708090A0B0C0D0E0F1011121314, application ID {3F2504E0-4F89-11D3-9A0C-0305E82C3301}, and store name my

to the IP-HTTPS server.

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287449

Remove-NetIPHttpsCertBinding



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™