< Back

Get-P1ClientPublicCertificate

Sat Jan 18, 2020 6:59 pm

NAME Get-P1ClientPublicCertificate



SYNOPSIS

Get the public client certificate.





SYNTAX

Get-P1ClientPublicCertificate [-Tenant] <String> [[-OutFile] <String>] [<CommonParameters>]





DESCRIPTION

If PlannerOne is configured with certificate authentication with ERP, a certificate should have been set with

Set-P1AdapterParameters.

This command returns the public certificate associated to the PlannerOne client PKCS#12 (pfx) certificate.





PARAMETERS

-Tenant <String>

The tenant name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OutFile <String>

The cer file path to store public key in.



Required? false

Position? 2

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:\\># Get public certificate for tenant Prod



Get-P1ClientPublicCertificate -Tenant Prod











RELATED LINKS