< Back

Send-ChallengeAck

Sat Jan 18, 2020 7:33 pm

NAME Send-ChallengeAck



SYNOPSIS

Notify the ACME server to proceed validating a challenge.





SYNTAX

Send-ChallengeAck [-ChallengeUrl] <String> [[-Account] <Object>] [<CommonParameters>]





DESCRIPTION

Use this after publishing the required resource for one of the challenges from an authorization object. It lets

the ACME server know that it should proceed validating that challenge.





PARAMETERS

-ChallengeUrl <String>

The URL of the challenge to be validated.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Account <Object>

The ACME account associated with the challenge.



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:\\>$auths = Get-PAOrder | Get-PAAuthorizations



PS C:\\>Send-ChallengeAck $auths[0].DNS01Url



Tell the ACME server to validate the first DNS challenge in the current order.









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



PS C:\\>$auths = Get-PAOrder | Get-PAAuthorizations



PS C:\\>$httpUrls = ($auths | ?{ $_.status -eq 'pending' }).HTTP01Url

PS C:\\>$httpUrls | Send-ChallengeAck



Tell the ACME server to validate all pending HTTP challenges in the current order.











RELATED LINKS

Project: https://github.com/rmbolger/Posh-ACME

Get-PAAuthorizations

Submit-ChallengeValidation