Skip to content

Commit eb3768e

Browse files
authored
Do not order "replaces" when ARI is off or unsupported (#407)
refs #406
1 parent 9cc97ad commit eb3768e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/md_acmev2_drive.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ static apr_status_t ad_setup_order(md_proto_driver_t *d, md_result_t *result, in
7878
md_acme_order_purge(d->store, d->p, MD_SG_STAGING, md, d->env);
7979
}
8080

81-
if (ad->cred->spec && ad->md->ca_account) {
81+
if (ad->cred->spec && ad->md->ca_account && ad->md->ari_renewals &&
82+
ad->acme->api.v2.renewal_info) {
8283
/* are we replacing a previous certificate on the same account? */
8384
int i;
8485
for (i = 0; i < md_pkeys_spec_count(d->md->pks); ++i) {

0 commit comments

Comments
 (0)