Skip to content

New-PACertificate creates new account for every order instead of using the current account #619

@Jack-DX1

Description

@Jack-DX1

Since 6/4/2025 we noticed that a new account is created for every order. This is causing us to hit the rate limit of 10 new accounts per 3 hours. We issue anywhere from 20-50 certificates so it's causing us problems. We haven't changed our code and use the following to request a certificate

New-PACertificate -Domain $HostNames -AcceptTOS -Contact $ContactEmail -Plugin Route53 -PluginArgs $pArgs -PfxPass $CertPass -Verbose

Verbose logs show the following

VERBOSE: Updating directory info from https://acme-v02.api.letsencrypt.org/directory
VERBOSE: Using ACME Server https://acme-v02.api.letsencrypt.org/directory
VERBOSE: Creating a new ec-256 account with contact: mailto:someemail@domain.com
VERBOSE: Using account 2456486682
VERBOSE: Order name not specified, using 'domain.com'
VERBOSE: Creating a new order 'domain.com' for domain.com, *.domain.com

This happens 10 times until the rate limit kicks in and then there isn't anything we can do until the rate limit expires.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions