PowerShell Logo Small

Add-NetIPHttpsCertBinding



This is the built-in help made by Microsoft for the command 'Add-NetIPHttpsCertBinding', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Binds an SSL certificate to an IP-HTTPS server.

SYNTAX


Add-NetIPHttpsCertBinding [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -ApplicationId <String> -CertificateHash <String> -CertificateStoreName <String>
-IpPort <String> -NullEncryption <Boolean> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

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.



<

RELATED LINKS

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

REMARKS

<

Examples


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.