< Back

Set-P1WebSSL

Sat Jan 18, 2020 7:03 pm

NAME Set-P1WebSSL



SYNOPSIS

Enable or disable SSL for the PlannerOne Web server.





SYNTAX

Set-P1WebSSL [-Tenant] <String> [-Enable] [-Disable] [[-SSLPort] <Int32>] [[-CertificateStore] <String>]

[[-CertificateFriendlyName] <String>] [[-CertificateThumbprint] <String>] [[-HostedIP] <String>]

[<CommonParameters>]





DESCRIPTION

Enable or disable SSL for PlannerOne web application.

Set certificate and binding on web site.

Change REST web service security accordingly.





PARAMETERS

-Tenant <String>

The target tenant.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Enable [<SwitchParameter>]

Enable SSL.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Disable [<SwitchParameter>]

Disable SSL.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-SSLPort <Int32>

The port of binding. By default 443.



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-CertificateStore <String>

The store to use to get certificate. By default 'My'



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CertificateFriendlyName <String>

The certificate friendly name to associate to binding. Exclusive option with thumbprint.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CertificateThumbprint <String>

The certificate thumbprint to associate to binding. Exclusive option with FriendlyName.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HostedIP <String>

The hosted ip associate to binding's certificate. 0.0.0.0 if not define.



Required? false

Position? 6

Default value

Accept pipeline input? false

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



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Enable SSL



Set-P1WebSSL -Tenant Prod -Enable -CertificateFriendlyName server-prod-certif -Store Root









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Disable SSL on port 8443



Set-P1WebSSL -tenant PROD -Disable -SSLPort 8443











RELATED LINKS