Skip to content

feat(v2): CERTInext V2 API support (2.0.0, as validated in 2.0.0-rc.19) - #57

Open
spbsoluble wants to merge 287 commits into
release-2.0from
release/2.0.0-rc.19
Open

spbsoluble wants to merge 287 commits into
release-2.0from
release/2.0.0-rc.19

Conversation

@spbsoluble

Copy link
Copy Markdown
Collaborator

Summary

Ships the code of 2.0.0-rc.19 as 2.0.0. The head is 78ceb69 on feat/v2-consolidated; merged into release-2.0 it gives exactly the tree that the 2.0.0-rc.19 tag was built from (05ebd42). The full list of changes is in CHANGELOG.md under 2.0.0.

Features

  • Opt-in CERTInext V2 REST API (UseV2Api, OAuth2 client_credentials): enroll, renew, reissue, revoke and sync for SSL/TLS and Private PKI, including multi-domain (UCC) and wildcard orders. See CHANGELOG.md for the full list.

Other

Settles which parser branch ParseProductDetailsV2Response needs before
touching it: GET /api/certinext/v2/catalog/products returns the same
nested category envelope as V1's GetProductDetails, confirmed live
against the sandbox account with and without groupNumber.
…016)

ParseProductDetailsV2Response deserialized each catalog/products array
element directly as ProductDetail, but the live response is a nested
category envelope (same shape as V1's GetProductDetails) -- every
element was actually a category, producing all-null ProductCode/
ProductName/ProductType/Active=false. Flatten per-element, mirroring
V1's FlattenProducts(), and keep the flat productId and bare-array
shapes as fallback branches.
ValidateProductInfo always called the V1-only GetProfilesAsync ->
GetProductDetailsAsync, which 404s against a V2-shaped ApiUrl -- a
hard block on registering any template with a ProductCode parameter
when UseV2Api=true. Branch on UseV2Api, mirroring
ValidateCAConnectionInfo's existing Ping/PingV2 branch: V2 now calls
GetProductDetailsV2Async and matches on ProductCode. No soft-accept
was added -- an empty/unusable V2 catalog throws the same "not found"
AnyCAValidationException V1 has always thrown for this case.
Drive CERTInextCAPlugin.ValidateProductInfo itself (not just the
client) against the sandbox account in both modes: V2 accepts the
configured code and rejects an unknown one without ever hitting the
V1-only GetProductDetails endpoint; V1 parity confirms unchanged
behavior. Also tighten GetProductDetails_V2_ReturnsProducts back to a
hard ProductCode assertion now that issue 0016 is fixed.
Checked-in source of truth for the V2 audit and every fix that follows —
cited throughout by folder/example/line in this session's issue triage.
Explains the single DcvSupport MSBuild property that selects the
IAnyCAPlugin version/DCV code fencing, and that the project now targets
only net10.0.
issues/ is a working log (see issues/README.md), not durable source —
untrack it along with .claude/, .codex/, CLAUDE.md, and AGENTS.md so
local working notes and agent tooling config stop showing as diffs.
issues/f3-v2-multi-san-limitation.md was the only previously-tracked file
under issues/; it is untracked here (file kept on disk, just no longer
in git).
…tilities

Read-only opt-in integration tests used during live triage: isolating
which enrollment field trips kfclab's "Inactive Account User" error, and
dumping TrackOrder/GetDcv state for orders stuck pending validation.
…ry revoke reason (0026, 0031, F3, 0028)

These four fixes land in one commit because each edits the same small set
of shared V2 plugin source files (EnrollV2Async/RevokeV2Async, the V2
request/response DTOs, and Constants.ApiV2) with no pre-session snapshot
available to separate them cleanly by issue — see
issues/V2_AUDIT_TRIAGE_HANDOFF.md for why. Per-issue test coverage is
committed separately right after this one.

- 0031: StatusMapper.V2StatusToRequestDisposition now maps all 11 V2 spec
  order statuses instead of defaulting 5 of them to FAILED; the unmapped
  default arm now logs a warning so it's distinguishable from a
  deliberate FAILED mapping.
- F3: EnrollV2Async detects UCC (multi-SAN) products from the live
  Catalog's productTypeID and populates V2CertificateParams.AdditionalDomains
  from the gateway SAN dictionary; the CSR-SAN-count fail-fast guard is
  unchanged (still spec-correct for UCC orders).
- 0028: EnrollV2Async sends the spec-mandatory organization block for
  OV/EV orders (organizationNumber + preVetted) from the existing
  OrganizationNumber config setting, and fails fast with a clear message
  instead of forwarding an incomplete block to a CA-side opaque 422.
- 0026: RevokeV2Async retries once with "cessation-of-operation" when
  CERTInext rejects Command's default "unspecified" revoke reason.
StatusMapperV2Tests covers all 11 spec status values plus the true
unrecognized-value default arm. V2ReportProbeTests gains a read-only
sandbox probe (opt-in) confirming which statuses the live account
actually returns. configuration.md's status table documents all 11.
V2UccEnrollmentTests drives Enroll end-to-end: UCC additionalDomains
population from the gateway SAN dictionary, non-UCC unaffected, the
CSR-SAN-count guard still fires first, and catalog-lookup failure fails
safe to non-UCC. CERTInextClientV2Tests covers wire serialization and
productTypeID surviving all three catalog response shapes.

Existing enroll/DCV dispatch tests in CERTInextCAPluginV2Tests and
CERTInextCAPluginV2DcvTests are updated to stub the new unconditional
GetProductDetailsV2Async call EnrollV2Async now makes. This same file
also carries two pre-existing regression tests for issue 0026's revoke
retry (added before this session, never previously committed) — kept
here rather than split out, since they live in the same file as the F3
stub updates.
V2OrganizationEnrollmentTests: organization block populated for ov/ev
from OrganizationNumber, omitted for dv, fail-fast FAILED result (no CA
call) when OrganizationNumber is unset for an OV/EV template, plus
DTO-level wire-serialization checks.

OrganizationBlockV2ProbeTests: opt-in live sandbox probes — confirmed
CERTInext hard-rejects an OV order with no organization block (HTTP 422
EMS-1180) and accepts it with the fix applied. Both probes were run live
this session with real-order cleanup verified; see
issues/0028-v2-organizationnumber-not-sent.md for the transcript.
…, 0028

- CHANGELOG.md: one bullet per fix (0026, 0031, F3, 0028).
- docsource/architecture.md: documents the 0026 revoke reason-code
  fallback and the revoke-note semicolon quirk.
- docsource/migration-v1-to-v2.md (new): V1-to-V2 migration guide,
  including corrected UCC/multi-domain support description (was
  previously going to state V2 has no multi-domain support at all) and
  the OrganizationNumber-is-now-mandatory-for-OV/EV note.
- README.md regenerated from docsource via doctooldotnet per this
  repo's convention (never hand-edited).
… one (0037)

A live fresh-domain DCV probe confirmed GetDcv's response is exactly
{tokenExpiryDate, token} — matching neither the DTO's old example shape
(orderNumber/domainName/dcvMethod/fileNameContent) nor the spec's prose
(method/txtToken). FileNameContent was always null on real orders, which
hit PerformDcvV2IfNeededAsync's null-token guard and stranded fresh-domain
DV orders at EXTERNALVALIDATION forever.

V2DcvChallengeResponse now models only Token/TokenExpiryDate; the other
fields are removed rather than left dead, since none exist on the wire.
The V2 path never actually read DcvMethod for method selection (DNS-TXT
and the _emudhra-challenge hostname are already hardcoded), and domain
name for TXT construction already comes from local order-placement
context, not this response — so dropping both is a no-op for existing
behavior.
Pins the real GetDcv wire shape ({tokenExpiryDate, token}) against the
client deserializer with the exact live JSON body from the issue's
probe, and against the plugin's PerformDcvV2IfNeededAsync to prove it
extracts and stages the token instead of hitting the null-token guard.
Updates the existing V2DcvChallengeResponse mock/JSON-builder usages to
match the fixed DTO shape.
…ID, not the V1-only DefaultProductCodes table

EnrollV2Async and ValidateProductInfo previously fell back to
Constants.Products.DefaultProductCodes when no explicit ProductCode override
was configured on a V2 template. That table's numbering is V1-era and does
not match the live V2 catalog (a flat +4 offset across all 10 codes), so an
administrator who left ProductCode unset on an OV/EV-named template could
silently order a different, lower-assurance product (0036).

Both callers now resolve/validate the code against the live catalog's
productTypeID field via a new Constants.Products.ProductTypeIdsV2 table
(ProductId -> CERTInext's documented numeric productTypeID). productTypeID
was used instead of matching on the catalog's productName (as originally
proposed) because live/spec evidence shows productName strings are not
stable across accounts, catalog versions, or validity-year suffixes and do
not match the ProductId strings GetProductIds() advertises -- whereas
productTypeID is the small, stable, CERTInext-documented enum the spec
itself recommends for this kind of routing decision, and F3 already
independently reached the same conclusion for UCC detection.

EnrollmentParams gains HasExplicitProductCode so V2 callers can distinguish
"explicit override configured" from "fell back to the V1 table" -- the V1
dispatch path (EnrollNewAsync/RenewOrReissueAsync) is untouched and still
uses the V1 table exactly as before. A catalog/productTypeID mismatch or
lookup miss now fails loudly instead of silently proceeding: EnrollV2Async
returns a FAILED result with a clear message, and ValidateProductInfo throws
AnyCAValidationException, in both the explicit-override and fallback cases.
…solution (0036)

Covers: EnrollV2Async resolving the live product code via catalog
productTypeID when no explicit ProductCode is configured, instead of the
stale V1 table; EnrollV2Async failing fast with a clear FAILED result when
no catalog entry matches the expected productTypeID; ValidateProductInfo
throwing on a code-exists-but-wrong-productTypeID mismatch (both explicit
override and no-override cases) that the pre-fix existence-only check would
have passed; and a new EnrollmentParamsTests.cs pinning that the V1-only
DefaultProductCodes fallback and HasExplicitProductCode behavior are
unchanged for all 10 product names.
…ort calls (0029)

V2 EnrollV2Async, GetProductDetailsV2Async, and ListOrdersV2Async never
carried the connector's configured GroupNumber, so V2 orders always
billed to and scoped against the account's default billing group.
Mirrors V1's existing DelegationInformation.GroupNumber / ProductDetailsFilter.GroupNumber
"send only if configured" semantics.
…ort calls (0029)

New V2GroupNumberEnrollmentTests.cs covers EnrollV2Async populating/omitting
GroupNumber on the V2CreateSslOrderRequest body, plus DTO serialization
presence/absence checks. CERTInextClientV2Tests.cs gains WireMock-based
GetProductDetailsV2Async/ListOrdersV2Async cases for the ?groupNumber= query
param, present when configured and omitted when not.
V2 SSL order creation never sent a technicalPointOfContact block, while V1
already did via TechnicalPointOfContact. Add a V2TechnicalPointOfContact DTO
and populate it in EnrollV2Async from the connector's TechnicalContact*
config, falling back field-by-field to Requestor* when blank (mirroring V1's
BuildOrderRequestFromLegacyEnrollRequest). Since V2's shape carries a single
phone field (unlike V1's separate ISD-code/mobile-number fields), add a new
ComposeV2Phone helper that combines them into one E.164-style value.

Designation has no backing config field (same gap as the existing
requestor.designation, tracked separately under issue 0027) and is set to a
fixed "Technical Contact" default per the issue's fix guidance.

SSL orders only; Document Signer and Private PKI V2 bodies are not
implemented yet (issue 0033) and are out of scope here.
…rders (0030)

Adds V2TechnicalContactEnrollmentTests covering: TechnicalContact* config
flowing into the V2 order's technicalPointOfContact block; per-field
fallback to Requestor* when TechnicalContact* fields are blank (including a
partial-override case); DTO serialization shape; and a Theory covering the
new ComposeV2Phone ISD-code + mobile-number composition helper.
CertificateRequestV2.cs and Constants.cs claimed the Idempotency-Key
header is "required on all unsafe POSTs" / "every unsafe call requires"
it. The spec only documents the header (as "parsed today, enforced in a
future release") on Verify DCV and Domains endpoints — not on the
order-create/revoke endpoints the plugin actually sends it on.
…vocation object (0034)

CertificateResponseV2's revocationReason/revocationDate were flat top-level
properties that never matched the live V2 Track Order response shape (a nested
revocation: {status, reason, processedAt} object) and were never even read
by GetSingleRecordV2Async or SynchronizeV2Async. Model the nested shape and
wire both V2 read paths to populate the returned certificate record, mapping
the wire's hyphenated RFC 5280 reason string to the CRL reason code the same
way V1 does for its own reason values.
…(0034)

Covers V2OrderStatusResponse deserializing the live-captured nested
revocation object (and staying null when absent), StatusMapper's new
reason-string-to-CRL-code mapping, and GetSingleRecord/Synchronize
populating RevocationDate/RevocationReason on both the direct-TrackOrder
and report-driven sync paths.
Read-only, opt-in (CERTINEXT_PROBE_REVOCATION_SHAPE=1) probe that locates an
already-revoked V2 order via the orders-report and captures the raw Track
Order response body — used to confirm the nested revocation object's exact
shape (field names, reason casing, timestamp format) before writing the fix.
No order is placed or revoked; the test finds and reports rather than
mutating anything.
…s productVariant (0035)

SynchronizeV2Async always set ProductID from the orders-report row's
ProductCode, which is frequently empty (issue 0016) — leaving ProductID
blank on those rows even when a Track Order response already fetched for
another reason (unresolved-status fallback, DCV attempt, revoked-row
lookup) had a usable productVariant sitting in scope. Prefer the report
row's own value (matches V1's "trust the listing" precedent) and only
fall back to an already-fetched trackedStatus.productVariant when it's
empty — no new live call is added.
…order (0035)

Covers all four cases: report row's ProductCode wins when present (even
over a populated trackedStatus), falls back to trackedStatus.productVariant
when the row's ProductCode is empty, and stays empty rather than guessing
when neither source has a value.
…osition for Requestor.Phone (0027)

V2's Synchronize, DCV TXT-record hostname, and Requestor.Phone all silently
dropped connector config that V1 already honors. Port V1's behavior: skip
expired certs during V2 sync when IgnoreExpired is set, build the DCV TXT
hostname from the configured DcvTxtRecordTemplate (falling back to the same
default V1 uses), and compose Requestor.Phone from RequestorIsdCode + mobile
number via the existing ComposeV2Phone helper instead of sending the bare
mobile number.
github-actions Bot and others added 30 commits November 15, 2026 20:20
…prover' order

Opt-in (CERTINEXT_V2_FULFILLED_PENDING_SYNC=1), read-only. A DispatchProxy narrows the
real report listing to one order and forwards every other call to the real client, so
the actual Synchronize path runs live. Asserts the row defers to Track Order, comes out
issued, and has its certificate download attempted. Live 2026-11-15 on 1125823297:
Track issued, download 422 EMS-1165 (never generated), emitted issued without a body.
… its certificate isn't generated

Live on 1125823297: Track Order says issued, but Download Certificate answers 422
EMS-1165 for an order placed months before the sandbox stopped generating, so the
report's 'Pending for Approver' was right. Such a row (Track fallback said issued, the
report's certificate status maps to pending, download EMS-1165) is now emitted pending
instead of issued without a certificate. The download is still tried every pass, so
a certificate that appears is imported. Other download failures, and rows whose
report doesn't say pending, keep the issued-without-body behaviour.
…certificate and a pending certificate state

Matches the V2 sync rule: Track says issued, Download Certificate answers 422
EMS-1165, and the order's certificateState (same text as the report's
certificateStatus: Pending for Approver, Approved by System, Order Accepted) maps to
pending, so the record is pending rather than issued without a body. An
unrecognized or non-pending state, and other download failures, keep the existing
result. Docs no longer claim the plugin never acts on certificateState.
… certificate and a pending state

Opt-in with CERTINEXT_V2_FULFILLED_PENDING_SYNC=1, read-only, DCV off; orders from
CERTINEXT_V2_SINGLE_RECORD_ORDERS. Also relaxes nothing in the sync test, which now
expects pending without a body. Live 2026-11-16: 1125823297 (Pending for Approver)
and 6292373831 (Approved by System) both returned pending (90); the one-order sync
emitted 1125823297 pending.
…sign synced certificates a template

The gateway gives a synced record a certificate profile only when its ProductID
equals a configured template's ProductID (a GetProductIds() name) exactly
(Gateway-AnyCA-REST CertificateService.CreateOrUpdateDBCertificate, called only from
CASyncJob). Both syncs sent CERTInext product codes, which never matched: all 927
sync-created lab rows had no profile, and those certificates reached Command with no
template.

Each V1/V2 sync pass now reads the account catalog once (on first use) and names a
code by productTypeID via the inverse of ProductTypeIdsV2. No fixed code table: the
V1-era DefaultProductCodes would label the sandbox's DV 842 'OV SSL'. Unknown codes,
types with no plugin product, and an unreadable catalog (one warning) keep the code.
The sync summaries gain ProductNames Resolved/Unresolved. GetSingleRecord is
unchanged: the gateway doesn't use its ProductID for the mapping.

Includes a read-only catalog probe (V1 and V2 catalogs are identical on the sandbox).
…ad-only)

Explains why a gateway row isn't re-saved by the sync. Opt-in with
CERTINEXT_SYNC_PRODUCTID_PROBE=1 and CERTINEXT_PROBE_ORDERS. Live 2026-11-16: the 8
gateway rows still pending without a profile are all 'Order Cancelled | Rejected due
to Order Cancellation' (Track: cancelled), which the sync skips.
… still holds it as pending

Both syncs skip orders cancelled or rejected at CERTInext, and the gateway changes a
row only when the sync emits a record for it, so an order it held as pending stayed
pending indefinitely (8 kfclab rows, all 'Order Cancelled | Rejected due to Order
Cancellation', Track: cancelled). Before skipping, the sync now asks the gateway
(ICertificateDataReader.GetStatusByRequestID): held as pending -> emit failed with no
certificate, once. No row (ArgumentException), already terminal, issued/revoked
(never downgraded), no reader, or a lookup error keep the skip. Summaries gain
FailedPropagated. Issue 0098.
…ildcard CN

A DV/OV request with CN = apex and SAN = *.apex failed with EMS-1173: the
wrapper keys "wildcard" on certificate.domain alone and resolved a plain
UCC product. Sending the wildcard as the domain is rejected too (EMS-1056,
the domain must match the CSR CN). Both confirmed live.

With no template ProductCode, the plugin now reads the catalog and sends
the account's single active Wildcard UCC product (typeID 21 DV / 22 OV) as
X-Product-Code. No match, several matches, a catalog failure, or EV fails
before any order is placed, asking for ProductCode.

Adds unit coverage and an opt-in live probe (CERTINEXT_V2_WILDCARD_SAN_PROBE).
…y from Command's SAN list (#50)

* fix(v2): don't block wildcard-SAN orders when the catalog can't name a Wildcard UCC product

A DV/OV request with CN = apex and SAN = *.apex and no template ProductCode
was rejected before ordering whenever the catalog didn't list exactly one
active product with productTypeID 21/22. Catalogs on other CA backends
(SSL.com) need not use those IDs, and there CERTInext accepts this shape
with no X-Product-Code. Now:

- One active Wildcard UCC product: its code is sent, as before.
- None, several, or an unreadable catalog: a warning is logged and the
  order is placed with no X-Product-Code. An EMS-1173 from CERTInext then
  says to set ProductCode on the template. EV still fails before ordering.
- Explicit ProductCode whose catalog entry has no documented SSL
  productTypeID (not listed, none, unfamiliar, or no catalog): UCC is
  decided from the request's SANs instead of rejecting extra SANs, and
  template save-time validation accepts the code instead of reporting a
  product mismatch.
- Flat catalog rows keyed by productCode are available when they carry no
  "active" field, and a numeric productTypeID no longer fails the read.

Also clears a CS8602 on the SSL.com organization check (the variant is
"ov" or "ev" there).

* test(live): raw wildcard-SAN probe, Private PKI variant/leave-pending switches, V1 enroll logging

- V2WildcardSanShapeTests.Probe_Raw_ApexCn_WildcardSan posts the create
  body directly (no X-Product-Code, CSR inline, CN = apex, SAN = *.apex),
  with and without additionalDomains.
- PrivatePkiV2LiveTests routes plugin logs to the test output and takes
  CERTINEXT_PRIVATE_PKI_VARIANT and CERTINEXT_PRIVATE_PKI_LEAVE_PENDING.
- DcvLifecycleTests.EnrollWithoutDcv_DoesNotInvokeDnsProvider routes
  plugin logs and prints the enroll result.

* docs: auto-generate README and documentation [skip ci]

* fix(v2): never add X-Product-Code on the plugin's own; send a template ProductCode as given

CERTInext advises sending only the variant and leaving X-Product-Code out.
Removes the catalog lookup that pinned a Wildcard UCC product (typeID 21/22)
for a wildcard SAN on a plain CN, along with its no-match fallback and
EMS-1173 hint. That request now goes out like any other: CN as the domain,
the wildcard in additionalDomains, no header unless the template sets
ProductCode, no catalog call. EV with a wildcard SAN is still rejected
before ordering. Drops the now-unused WildcardUccProductTypeIdByVariant.

* docs: auto-generate README and documentation [skip ci]

* fix(v2): remove product-code pre-checks and let CERTInext reject a code it can't use

V2 no longer checks a template ProductCode against the catalog:

- Enrollment never reads the catalog. Wildcard/UCC is decided from the
  request for every SSL order (domain "*.", UCC template product, or extra
  DNS SANs going out in additionalDomains), with or without ProductCode.
  The single-domain SAN guard, which could only reject an explicit code the
  catalog listed as non-UCC, is gone. An explicit code is sent as given.
- Template save (ValidateProductInfo) no longer looks the code up in the
  V2 catalog, for SSL or Private PKI. The ProductVariant, Private PKI
  variant and OV organization representative checks stay.
- EV with a wildcard SAN is still rejected before ordering.

V1 is unchanged: its template save still checks the code with
GetProfilesAsync. Drops the now-unused WildcardProductTypeIds and
PrivatePkiProductTypeId constants.

* docs: auto-generate README and documentation [skip ci]

* fix(v2): use Command's SAN list as the only source of extra names; address review findings

SAN source: FindExtraDnsSans took the union of the CSR's SANs and the
gateway's SAN dictionary, while additionalDomains came from the dictionary.
A DNS name only in the CSR made the order multi-domain yet was left out of
additionalDomains. Both now use CollectRequestedSanEntries: the dictionary,
or the CSR only when the dictionary is null. That matches the other
Keyfactor CA plugins that build a SAN list for their CA (DigiCert, Entrust,
Vault, GCP CAS, GoDaddy, Sectigo, GlobalSign, HydrantID, SSLStore, CSC):
dictionary only, CSR passed through, no union and no rejection.
BuildSanList, which V1 also uses, is unchanged.

Review findings:
- Drop the EV wildcard pre-check (it covered only a wildcard SAN, not a
  wildcard domain); CERTInext decides.
- Flat catalog rows: "active" is honored only as JSON true/false; a
  missing or null value is available, anything else isn't. The CHANGELOG
  no longer claims an Active fix (nothing reads it).
- The UCC log line no longer says the plugin "resolved" a product.
- Docs note that some accounts reject a wildcard-only-in-SANs request
  with EMS-1173, and that ProductCode is the way around it.
- Catalog_ListsProductTypeIds comment: informational only.

* docs: auto-generate README and documentation [skip ci]

* docs(changelog): consolidate the V2 product-code entries; add an upgrade note and known limitations

Merges the two overlapping X-Product-Code/ProductCode feature entries into one
that describes the final behavior, tightens the related fixes, adds an upgrade
note for earlier 2.0 builds (no save-time ProductCode check; CSR-only SAN names
ignored), and lists EMS-1173 on wildcard-only-in-SANs requests and the missing
live verification as known limitations.

* docs(changelog): drop test-environment references and meta notes from 2.0.0

Removes sandbox and live-test references, test dates, rationale asides and
the notes aimed at pre-release builds from the 2.0.0 entries, and the same
sandbox aside from the configuration doc.

* docs: auto-generate README and documentation [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#51)

PR #50 removed V2's save-time ProductCode catalog check and the single-domain
SAN guard, but two live tests still described or asserted them:

- V2ApiTests.ValidateProductInfo_V2_RejectsUnknownProductCode expected an
  unknown code to be rejected at template save. Renamed to
  ValidateProductInfo_V2_AcceptsUnknownProductCode_WithoutCatalogCheck and
  now asserts it's accepted; ValidateProductInfo_V2_AcceptsConfiguredProductCode's
  reason no longer says the code must be in the catalog.
- V2FullLifecycleTests.Enroll_V2_WildcardDv_WildcardPlusApexSan_RecordsActualBehavior
  no longer attributes a FAILED result to the removed guard; it logs the
  result and cleans up any order created.
The CERTInext V1 API no longer works, so V2 is now the default. A connector
with no UseV2Api value runs on V2; only an explicit false selects V1.

- Config default, field DefaultValue, and save-time validation treat a
  missing UseV2Api as true (ResolveUseV2Api).
- Tests that exercise V1 set UseV2Api = false explicitly; the internal
  V1-client test constructors fall back to a V1 config.
- Docs and integration-manifest describe V2 as the default and V1 as legacy.
- CHANGELOG: add a Breaking Changes section, split Upgrade Notes by upgrade
  path, and group Bug Fixes by scope.
- Wildcard UCC primary domain for SAN-only requests (no CN).
…only

- New docsource/v1-legacy.md ("Legacy V1 API (Deprecated)"), included at
  the end of the README, holds every V1-only field, flow, diagram,
  endpoint, troubleshooting entry, and the rollback steps.
- configuration.md, architecture.md, and the migration guide describe V2
  only, with deprecation callouts in the README, migration guide,
  overview, and development guide.
- Rename "## Mechanics" to "## Plugin Behavior": doctool's AnyCA renderer
  reserves "Mechanics" without rendering it, so that section never
  reached the README.
- Fix doc claims that disagreed with the code: pickup is skipped after
  inline DCV, five revoke reasons are rejected, signer-name fallback,
  save-time checks, URI SAN masking, TransportDetail scope, V1 DCV delay.
- RenewalWindowDays field text: V2 uses it to choose reissue vs a new
  order (it said "V1 only").
- CHANGELOG/migration: describe emSign G1 distrust dates instead of
  revocation.
…ayloads

The token response is never logged today; this keeps a bearer or refresh
token out of the logs if a future code path ever logs one.
…mplate heading

doctooldotnet's AnyCA template reserves "Extension Mechanics" (Keyfactor/doctooldotnet#25)
and renders it as a custom section until then; a bare "Mechanics" heading is dropped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant