- Updated dns-persist-01 support for draft 04
- Breaking Change: dns-persist-01 domain normalization now follows draft-04 which requires IDN domains to be supplied in punycode form. Unicode names are rejected rather than converted.
- Breaking Change: All
-AccountHashPrefixparameters and related code have been removed as draft 04 no longer uses it and there were no production implementations of draft 02-03 that I'm aware of. - Breaking Change: Renamed
Get-DnsPersistAccountUritoGet-DnsPersistAccountDigest - Breaking Change: The
-HashedAccountUriparameter in the Advanced param set for Publish/Unpublish-DnsPersistChallenge has been renamed to-AccountDigest - New
-LegacyWireFormatswitch on Publish/Unpublish-DnsPersistChallenge which makes the TXT record value use the oldaccounturifield name instead of the newaccountdigestfield name to retain some compatibility with older drafts. Get-PublishedPersistChallengenow hasAccountDigestandLegacyWireFormatoutput fields instead ofHashedAccountUriand you can still pipe the output to Publish/Unpublish-DnsPersistChallenge. The underlying cache file will have its schema updated automatically the first time it is accessed or you can force it by running the function manually.- IPv4 and IPv6 identifiers are now supported for dns-persist-01. Their persistent records use
_ip-validation-persistunder the corresponding reverse.arpaname and do not support the wildcard policy. - New shared PluginArgs parameter
PersistAncestorlets adns-persist-01order validate subdomains using a manually created ancestor record. It accepts one or more domains and uses the nearest matching ancestor. The record must be created ahead of time withpolicy=wildcard. Requires-DnsVariant dns-persist-01, cannot be combined withPublishPersist, and does not apply to IP identifiers.- If no matching ancestor is found in the supplied values, a warning is thrown and no ancestorDomain value is sent to the CA.
- Don't use this with Google's draft-01 implementation. The field is not recognized and Google walks the DNS tree for ancestor records instead.
Send-ChallengeAckhas a new optional-AncestorDomainparameter when used withdns-persist-01. It sends the specified ancestor as theancestorDomainchallenge response field, allowing manual challenge acknowledgements to use an ancestor record.Submit-ChallengeValidationnow warns when a locally cached persistent record for an identifier and issuer has expired or will expire within an hour. If an ancestor domain is provided, that is the identifier that is checked. This check does not query DNS.
- Updated ARI support for RFC 9773
- Posh-ACME now respects
Retry-Afterheader if present with appropriate back off timing for errors - Additional validation on suggested window values (Thanks @zhechen-cs)
- Added an ARI check immediately after cert issuance
- Posh-ACME now respects
- Fixed pipeline bugs with Revoke-PACertificate and Remove-PAServer (#705) (Thanks @nimbice)
- Simply.com plugin no longer requires SimplyAccount parameter. (#706) (Thanks @tomsommer)
- Fixed Gandi plugin when using legacy key values due to unannounced API change (#707) (Thanks @Aldaviva)
- Fixed a few places that were potentially leaking cleartext credentials in debug output (#713) (Thanks @nimbice)
- Fixed a couple bugs in
Set-PAServerthat affected whether cert validation is disabled/enabled properly when switching servers with different settings. (#709) (Thanks @nimbice) Set-PAOrdernow ignores and warns when modifying a-CSRPathbased order and using parameters that apply only to orders with a generated private key. Those parameters include Subject, FriendlyName, PfxPass, PfxPassSecure, UseModernPfxEncryption, UsePfxDerEncoding, Install, OCSPMustStaple, and AlwaysNewKey.Set-PAOrdernow has a-CSRPathparameter which stages a replacement CSR for subsequent renewals. It is effectively intended to allow for the external device holding the private key and generating the CSR to rotate that key and the new CSR must have the same names in the same order and the same key type and size as the previous CSR or it will be rejected. If those values have changed, useNew-PAOrderorNew-PACertificateinstead.
Potentially Breaking Change
- Generated CSRs no longer include the Basic Constraints or Subject Key Identifier (SKI) extensions.
- This is a fix for AWS's ACME endpoint that rejects CSRs containing those extensions.
- This change has been tested successfully against all known free public ACME CAs and the resulting certs still contain the removed extensions.
- However, there are many commercial and private CAs I was unable to test against which is why this might be a breaking change for them. PLEASE test if you're not using one of the free public ACME CAs.
- If for some reason your preferred CA rejects the new CSRs, you may always fall back to supplying your own CSR using the
-CSRPathparam in many of the functions.