add CRL signing for MTCs (#9185)

The MTCA runs a CRL service for all of its issuers. This relaxes the
check that an MTCA may only have one issuer, but the requirement is that
it now has only one active issuer. The MTCA needs to ignore two CRL
lints: `e_subscriber_crl_matches_cps_profile` (fails due to signature
algorithm different than our CPS for direct-signing CAs) and
`e_pkimetal_lint_cabf_serverauth_crl` (disable the whole thing due to a
pkilint failure[^1]).

Add an IsMTC() accessor on `issuance.Certificate`, which searches for
the MTC issuer extension OID, now offered by the mtx509 package.

crl-updater gets two separate CRLGenerator backends, and chooses between
them based on an issuer's `IsMTC()`.

In the direct-signing CA, disallow MTC issuers.

[^1]: "got 1 lint findings from pkimetal API: fatal from
pkilint:...Error reading TLV header near substrate offset 39:
unknown/unsupported ASN.1 DER tag: 0x0d)"
diff --git a/ca/crl.go b/ca/crl.go
index 22cc5de..7a5fb6f 100644
--- a/ca/crl.go
+++ b/ca/crl.go
@@ -120,7 +120,7 @@
 	logID := blog.LogLineChecksum(fmt.Sprintf("%d", issuer.NameID()) + req.Number.String() + fmt.Sprintf("%d", req.Shard))
 	ci.log.AuditInfo("Signing CRL", map[string]any{
 		"logID":      logID,
-		"issuer":     issuer.Cert.Subject.CommonName,
+		"issuer":     issuer.Cert.Name(),
 		"number":     req.Number.String(),
 		"shard":      req.Shard,
 		"thisUpdate": req.ThisUpdate.Format(time.RFC3339),
diff --git a/cmd/boulder-ca/main.go b/cmd/boulder-ca/main.go
index fdd70d5..70cc3101 100644
--- a/cmd/boulder-ca/main.go
+++ b/cmd/boulder-ca/main.go
@@ -194,6 +194,12 @@
 		issuers = append(issuers, issuer)
 	}
 
+	for _, iss := range issuers {
+		if iss.Cert.IsMTC() {
+			cmd.Fail(fmt.Sprintf("Issuer %q is an MTC issuer and can't be used by direct-signing CA", iss.Name()))
+		}
+	}
+
 	if len(c.CA.Issuance.CertProfiles) == 0 {
 		cmd.Fail("At least one profile must be configured")
 	}
diff --git a/cmd/boulder-mtca/main.go b/cmd/boulder-mtca/main.go
index 53b8f19..7ee4b26 100644
--- a/cmd/boulder-mtca/main.go
+++ b/cmd/boulder-mtca/main.go
@@ -4,6 +4,7 @@
 	"context"
 	"errors"
 	"flag"
+	"fmt"
 	"os"
 	"sync"
 	"time"
@@ -12,6 +13,8 @@
 
 	"github.com/letsencrypt/boulder/blog"
 	"github.com/letsencrypt/boulder/bs3"
+	"github.com/letsencrypt/boulder/ca"
+	capb "github.com/letsencrypt/boulder/ca/proto"
 	"github.com/letsencrypt/boulder/cmd"
 	"github.com/letsencrypt/boulder/config"
 	bgrpc "github.com/letsencrypt/boulder/grpc"
@@ -37,13 +40,17 @@
 		LogID issuancelog.Config `validate:"required"`
 
 		Issuance struct {
+			CRLProfile issuance.CRLProfileConfig `validate:"required"`
+
 			CertProfiles map[string]issuance.ProfileConfig `validate:"required,dive,keys,alphanum,min=1,max=32,endkeys"`
-			// Issuers holds the configuration for a single MTCA instance with a single CA ID.
-			// We run a separate process for each issuer.
-			// TODO: the issuance package parses the CA certificate as a self-signed X.509
-			// certificate, but per MTC draft, a CA SHOULD be represented by an RFC 9925
-			// unsigned certificate: https://www.rfc-editor.org/rfc/rfc9925.html.
-			Issuers []issuance.IssuerConfig `validate:"min=1,max=1,dive"`
+			// Issuers holds the configuration for all MTC issuers.
+			//
+			// The MTCA is responsible for both issuing certificates and signing
+			// CRLs. For issuing certificates, only one MTCA per issuer may be
+			// active at a time, which is expressed by having a non-empty list
+			// of profiles. The issuers that are only present for CRL signing
+			// should have an empty list of profiles. This is checked at startup.
+			Issuers []issuance.IssuerConfig `validate:"min=1,dive"`
 		}
 
 		// SequencingPeriod controls how frequently the MTCA sequences a batch and signs a checkpoint.
@@ -92,14 +99,6 @@
 	tlsConfig, err := c.MTCA.TLS.Load(scope)
 	cmd.FailOnError(err, "Loading TLS config")
 
-	clk := clock.New()
-
-	if len(c.MTCA.Issuance.Issuers) > 1 {
-		cmd.Fail("multiple issuers in one MTCA process not supported")
-	}
-	issuer, err := issuance.LoadIssuer(c.MTCA.Issuance.Issuers[0], clk)
-	cmd.FailOnError(err, "Loading issuer")
-
 	logID, err := c.MTCA.LogID.Load()
 	cmd.FailOnError(err, "Parsing Log ID")
 
@@ -113,6 +112,45 @@
 		profiles[name] = profile
 	}
 
+	clk := clock.New()
+	var crlShards int
+	issuers := make([]*issuance.Issuer, 0, len(c.MTCA.Issuance.Issuers))
+	for i, issuerConfig := range c.MTCA.Issuance.Issuers {
+		// Double check that all issuers have the same number of CRL shards, because
+		// crl-updater relies upon that invariant.
+		if issuerConfig.CRLShards != 0 && crlShards == 0 {
+			crlShards = issuerConfig.CRLShards
+		}
+		if issuerConfig.CRLShards != crlShards {
+			cmd.Fail(fmt.Sprintf("issuer %d has %d shards, want %d", i, issuerConfig.CRLShards, crlShards))
+		}
+
+		// Also check that all the profiles they list actually exist.
+		for _, profile := range issuerConfig.Profiles {
+			_, found := profiles[profile]
+			if !found {
+				cmd.Fail(fmt.Sprintf("issuer %d lists unrecognized profile %q", i, profile))
+			}
+		}
+
+		issuer, err := issuance.LoadIssuer(issuerConfig, clk)
+		cmd.FailOnError(err, fmt.Sprintf("Loading issuer %q", issuerConfig.Location.CertFile))
+		issuers = append(issuers, issuer)
+	}
+
+	var activeIssuer *issuance.Issuer
+	for _, iss := range issuers {
+		if iss.IsActive() {
+			if activeIssuer != nil {
+				cmd.Fail("only one issuer may be active per MTCA (as specified by having a non-empty 'profiles' list)")
+			}
+			activeIssuer = iss
+		}
+	}
+	if activeIssuer == nil {
+		cmd.Fail("no issuers were marked active (as specified by having a non-empty 'profiles' list)")
+	}
+
 	dbMap, err := sa.InitDB(c.MTCA.DB, scope, logger)
 	cmd.FailOnError(err, "While initializing dbMap")
 
@@ -120,7 +158,7 @@
 	cmd.FailOnError(err, "Loading S3 config")
 
 	mtcaImpl, err := mtca.New(
-		issuer,
+		activeIssuer,
 		profiles,
 		logID,
 		c.MTCA.SequencingPeriod.Duration,
@@ -152,8 +190,19 @@
 	err = mtcaImpl.Preflight(context.Background())
 	cmd.FailOnError(err, "Loading log state")
 
+	caMetrics := ca.NewCAMetrics(scope)
+	crli, err := ca.NewCRLImpl(
+		issuers,
+		c.MTCA.Issuance.CRLProfile,
+		4000,
+		logger,
+		caMetrics,
+	)
+	cmd.FailOnError(err, "Failed to create CRL impl")
+
 	srv := bgrpc.NewServer(c.MTCA.GRPCMTCA, logger).Add(
-		&mtcapb.MTCA_ServiceDesc, mtcaImpl)
+		&mtcapb.MTCA_ServiceDesc, mtcaImpl).Add(
+		&capb.CRLGenerator_ServiceDesc, crli)
 
 	start, err := srv.Build(tlsConfig, scope, clk)
 	cmd.FailOnError(err, "Unable to setup MTCA gRPC server")
diff --git a/cmd/crl-updater/main.go b/cmd/crl-updater/main.go
index 01071c4..14a6128 100644
--- a/cmd/crl-updater/main.go
+++ b/cmd/crl-updater/main.go
@@ -27,9 +27,10 @@
 		// TLS client certificate, private key, and trusted root bundle.
 		TLS cmd.TLSConfig
 
-		SAService           *cmd.GRPCClientConfig
-		CRLGeneratorService *cmd.GRPCClientConfig
-		CRLStorerService    *cmd.GRPCClientConfig
+		SAService              *cmd.GRPCClientConfig
+		CRLGeneratorService    *cmd.GRPCClientConfig
+		MTCCRLGeneratorService *cmd.GRPCClientConfig
+		CRLStorerService       *cmd.GRPCClientConfig
 
 		// IssuerCerts is a list of paths to issuer certificates on disk. This
 		// controls the set of CRLs which will be published by this updater: it will
@@ -196,9 +197,16 @@
 	sac := sapb.NewStorageAuthorityClient(saConn)
 
 	caConn, err := bgrpc.ClientSetup(c.CRLUpdater.CRLGeneratorService, tlsConfig, scope, clk)
-	cmd.FailOnError(err, "Failed to load credentials and create gRPC connection to CRLGenerator")
+	cmd.FailOnError(err, "Failed to load credentials and create gRPC connection to CA's CRLGenerator")
 	cac := capb.NewCRLGeneratorClient(caConn)
 
+	var mtcac capb.CRLGeneratorClient
+	if c.CRLUpdater.MTCCRLGeneratorService != nil {
+		mtcaConn, err := bgrpc.ClientSetup(c.CRLUpdater.MTCCRLGeneratorService, tlsConfig, scope, clk)
+		cmd.FailOnError(err, "Failed to load credentials and create gRPC connection to MTCA's CRLGenerator")
+		mtcac = capb.NewCRLGeneratorClient(mtcaConn)
+	}
+
 	csConn, err := bgrpc.ClientSetup(c.CRLUpdater.CRLStorerService, tlsConfig, scope, clk)
 	cmd.FailOnError(err, "Failed to load credentials and create gRPC connection to CRLStorer")
 	csc := cspb.NewCRLStorerClient(csConn)
@@ -218,6 +226,7 @@
 		c.CRLUpdater.CheckFreshness,
 		sac,
 		cac,
+		mtcac,
 		csc,
 		scope,
 		logger,
diff --git a/crl/storer/storer.go b/crl/storer/storer.go
index 042abdd..9b40017 100644
--- a/crl/storer/storer.go
+++ b/crl/storer/storer.go
@@ -306,18 +306,18 @@
 	})
 
 	latency := cs.clk.Now().Sub(start)
-	cs.latencyHistogram.WithLabelValues(issuer.Subject.CommonName).Observe(latency.Seconds())
+	cs.latencyHistogram.WithLabelValues(issuer.Name()).Observe(latency.Seconds())
 
 	if err != nil {
-		cs.uploadCount.WithLabelValues(issuer.Subject.CommonName, "failed").Inc()
+		cs.uploadCount.WithLabelValues(issuer.Name(), "failed").Inc()
 		cs.log.AuditErr("CRL upload failed", err, map[string]any{"id": crlId})
 		return fmt.Errorf("uploading to S3: %w", err)
 	}
 
-	cs.uploadCount.WithLabelValues(issuer.Subject.CommonName, "success").Inc()
+	cs.uploadCount.WithLabelValues(issuer.Name(), "success").Inc()
 	cs.log.AuditInfo("CRL uploaded", map[string]any{
 		"id":         crlId,
-		"issuerCN":   issuer.Subject.CommonName,
+		"issuerName": issuer.Name(),
 		"thisUpdate": crl.ThisUpdate.Format(time.RFC3339),
 		"nextUpdate": crl.NextUpdate.Format(time.RFC3339),
 		"numEntries": len(crl.RevokedCertificateEntries),
diff --git a/crl/updater/batch.go b/crl/updater/batch.go
index 03f1d3a..f75b833 100644
--- a/crl/updater/batch.go
+++ b/crl/updater/batch.go
@@ -18,6 +18,7 @@
 	type workItem struct {
 		issuerNameID issuance.NameID
 		shardIdx     int
+		isMTC        bool
 	}
 
 	var anyErr bool
@@ -34,7 +35,7 @@
 				if !ok {
 					return
 				}
-				err := cu.updateShardWithRetry(ctx, atTime, work.issuerNameID, work.shardIdx)
+				err := cu.updateShardWithRetry(ctx, atTime, work.issuerNameID, work.shardIdx, work.isMTC)
 				if err != nil {
 					cu.log.AuditErr("Generating CRL failed", err, map[string]any{
 						"id": crl.Id(work.issuerNameID, work.shardIdx, crl.Number(atTime)),
@@ -59,7 +60,7 @@
 				close(inputs)
 				wg.Wait()
 				return ctx.Err()
-			case inputs <- workItem{issuerNameID: issuer.NameID(), shardIdx: i + 1}:
+			case inputs <- workItem{issuerNameID: issuer.NameID(), shardIdx: i + 1, isMTC: issuer.IsMTC()}:
 			}
 		}
 	}
diff --git a/crl/updater/batch_test.go b/crl/updater/batch_test.go
index f5d5d10..4d89466 100644
--- a/crl/updater/batch_test.go
+++ b/crl/updater/batch_test.go
@@ -32,6 +32,7 @@
 		5*time.Minute,
 		true, fsa,
 		&fakeCA{gcc: generateCRLStream{}},
+		&fakeCA{gcc: generateCRLStream{}},
 		&fakeStorer{uploaderStream: &noopUploader{}},
 		metrics.NoopRegisterer, mockLog, clk,
 	)
@@ -61,6 +62,7 @@
 		5*time.Minute,
 		true, fsa,
 		&fakeCA{gcc: generateCRLStream{}},
+		&fakeCA{gcc: generateCRLStream{}},
 		&fakeStorer{uploaderStream: &noopUploader{}},
 		metrics.NoopRegisterer, blog.NewMock(), clk,
 	)
@@ -92,6 +94,7 @@
 		5*time.Minute,
 		true, fsa,
 		&fakeCA{gcc: generateCRLStream{}},
+		&fakeCA{gcc: generateCRLStream{}},
 		&fakeStorer{uploaderStream: uploader},
 		metrics.NoopRegisterer, blog.NewMock(), clk,
 	)
diff --git a/crl/updater/continuous.go b/crl/updater/continuous.go
index 6415ad6..3943276b 100644
--- a/crl/updater/continuous.go
+++ b/crl/updater/continuous.go
@@ -16,7 +16,7 @@
 func (cu *crlUpdater) Run(ctx context.Context) error {
 	var wg sync.WaitGroup
 
-	shardWorker := func(issuerNameID issuance.NameID, shardIdx int) {
+	shardWorker := func(issuerNameID issuance.NameID, shardIdx int, isMTC bool) {
 		defer wg.Done()
 
 		// Wait for a random number of nanoseconds less than the updatePeriod, so
@@ -41,7 +41,7 @@
 			}
 
 			atTime := cu.clk.Now()
-			err := cu.updateShardWithRetry(ctx, atTime, issuerNameID, shardIdx)
+			err := cu.updateShardWithRetry(ctx, atTime, issuerNameID, shardIdx, isMTC)
 			if err != nil {
 				// We only log, rather than return, so that the long-lived process can
 				// continue and try again at the next tick.
@@ -63,7 +63,7 @@
 	for _, issuer := range cu.issuers {
 		for i := 1; i <= cu.numShards; i++ {
 			wg.Add(1)
-			go shardWorker(issuer.NameID(), i)
+			go shardWorker(issuer.NameID(), i, issuer.IsMTC())
 		}
 	}
 
diff --git a/crl/updater/updater.go b/crl/updater/updater.go
index 63d1348..7ce066a 100644
--- a/crl/updater/updater.go
+++ b/crl/updater/updater.go
@@ -46,9 +46,10 @@
 	// TODO(#8983): Remove this once the freshness check is unconditional.
 	checkFreshness bool
 
-	sa sapb.StorageAuthorityClient
-	ca capb.CRLGeneratorClient
-	cs cspb.CRLStorerClient
+	sa   sapb.StorageAuthorityClient
+	ca   capb.CRLGeneratorClient
+	mtca capb.CRLGeneratorClient
+	cs   cspb.CRLStorerClient
 
 	tickHistogram    *prometheus.HistogramVec
 	updatedCounter   *prometheus.CounterVec
@@ -74,6 +75,7 @@
 	checkFreshness bool,
 	sa sapb.StorageAuthorityClient,
 	ca capb.CRLGeneratorClient,
+	mtca capb.CRLGeneratorClient,
 	cs cspb.CRLStorerClient,
 	stats prometheus.Registerer,
 	log blog.Logger,
@@ -151,6 +153,7 @@
 		checkFreshness,
 		sa,
 		ca,
+		mtca,
 		cs,
 		tickHistogram,
 		updatedCounter,
@@ -163,7 +166,7 @@
 
 // updateShardWithRetry calls updateShard repeatedly (with exponential backoff
 // between attempts) until it succeeds or the max number of attempts is reached.
-func (cu *crlUpdater) updateShardWithRetry(ctx context.Context, atTime time.Time, issuerNameID issuance.NameID, shardIdx int) error {
+func (cu *crlUpdater) updateShardWithRetry(ctx context.Context, atTime time.Time, issuerNameID issuance.NameID, shardIdx int, isMTC bool) error {
 	deadline := cu.clk.Now().Add(cu.updateTimeout)
 	ctx, cancel := context.WithDeadline(ctx, deadline)
 	defer cancel()
@@ -191,7 +194,7 @@
 		}
 		cu.clk.Sleep(sleepTime)
 
-		err = cu.updateShard(ctx, atTime, issuerNameID, shardIdx)
+		err = cu.updateShard(ctx, atTime, issuerNameID, shardIdx, isMTC)
 		if err == nil {
 			break
 		}
@@ -217,7 +220,7 @@
 // the list of revoked certs in that shard from the SA, gets the CA to sign the
 // resulting CRL, and gets the crl-storer to upload it. It returns an error if
 // any of these operations fail.
-func (cu *crlUpdater) updateShard(ctx context.Context, atTime time.Time, issuerNameID issuance.NameID, shardIdx int) (err error) {
+func (cu *crlUpdater) updateShard(ctx context.Context, atTime time.Time, issuerNameID issuance.NameID, shardIdx int, isMTC bool) (err error) {
 	if shardIdx <= 0 {
 		return fmt.Errorf("invalid shard %d", shardIdx)
 	}
@@ -233,8 +236,9 @@
 		if err != nil {
 			result = "failed"
 		}
-		cu.tickHistogram.WithLabelValues(cu.issuers[issuerNameID].Subject.CommonName, result).Observe(cu.clk.Since(start).Seconds())
-		cu.updatedCounter.WithLabelValues(cu.issuers[issuerNameID].Subject.CommonName, result).Inc()
+		issuer := cu.issuers[issuerNameID]
+		cu.tickHistogram.WithLabelValues(issuer.Name(), result).Observe(cu.clk.Since(start).Seconds())
+		cu.updatedCounter.WithLabelValues(issuer.Name(), result).Inc()
 	}()
 
 	cu.log.Infof("Generating CRL shard: id=[%s]", crlID)
@@ -301,8 +305,16 @@
 		}
 	}
 
-	// Send the full list of CRL Entries to the CA.
-	caStream, err := cu.ca.GenerateCRL(ctx)
+	service := cu.ca
+	if isMTC {
+		service = cu.mtca
+		if service == nil {
+			return fmt.Errorf("tried to update CRL for MTC but no MTCA available")
+		}
+	}
+
+	// Send the full list of CRL Entries to the CA or MTCA.
+	caStream, err := service.GenerateCRL(ctx)
 	if err != nil {
 		return fmt.Errorf("connecting to CA: %w", err)
 	}
@@ -394,8 +406,9 @@
 	cu.log.Infof(
 		"Generated CRL shard: id=[%s] size=[%d] hash=[%x]",
 		crlID, crlLen, crlHash.Sum(nil))
-	cu.sizeBytesGauge.WithLabelValues(cu.issuers[issuerNameID].Subject.CommonName, strconv.Itoa(shardIdx)).Set(float64(crlLen))
-	cu.sizeEntriesGauge.WithLabelValues(cu.issuers[issuerNameID].Subject.CommonName, strconv.Itoa(shardIdx)).Set(float64(len(crlEntries)))
+	issuer := cu.issuers[issuerNameID]
+	cu.sizeBytesGauge.WithLabelValues(issuer.Name(), strconv.Itoa(shardIdx)).Set(float64(crlLen))
+	cu.sizeEntriesGauge.WithLabelValues(issuer.Name(), strconv.Itoa(shardIdx)).Set(float64(len(crlEntries)))
 
 	return nil
 }
diff --git a/crl/updater/updater_test.go b/crl/updater/updater_test.go
index ee61ba3..a9d83af 100644
--- a/crl/updater/updater_test.go
+++ b/crl/updater/updater_test.go
@@ -6,6 +6,7 @@
 	"encoding/json"
 	"errors"
 	"io"
+	"strings"
 	"testing"
 	"time"
 
@@ -240,7 +241,7 @@
 			1, 18*time.Hour, lookback, lagFactor,
 			6*time.Hour, time.Minute, 1, 1,
 			"stale-if-error=60", 5*time.Minute,
-			true, fsa, &fakeCA{}, &fakeStorer{},
+			true, fsa, &fakeCA{}, &fakeCA{}, &fakeStorer{},
 			metrics.NoopRegisterer, blog.NewMock(), clk,
 		)
 		return err
@@ -287,13 +288,14 @@
 		5*time.Minute,
 		true, fsa,
 		&fakeCA{gcc: generateCRLStream{}},
+		&fakeCA{gcc: generateCRLStream{}},
 		&fakeStorer{uploaderStream: &noopUploader{}},
 		metrics.NoopRegisterer, blog.NewMock(), clk,
 	)
 	test.AssertNotError(t, err, "building test crlUpdater")
 
 	// Ensure that getting no results from the SA still works.
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertNotError(t, err, "empty CRL")
 	test.AssertMetricWithLabelsEquals(t, cu.updatedCounter, prometheus.Labels{
 		"issuer": "(TEST) Elegant Elephant E1", "result": "success",
@@ -334,7 +336,7 @@
 	})
 	// We ask for shard 2 specifically because GetRevokedCertsByShard only returns our
 	// certificate for that shard.
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 2)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 2, true)
 	test.AssertNotError(t, err, "updateShard")
 
 	expectedEntries := map[string]int32{
@@ -370,7 +372,7 @@
 
 	// Ensure that getting no results from the SA still works.
 	useFakeSA(cu, &fakeSAC{revokedCerts: revokedCertsStream{}, maxNotAfter: clk.Now().Add(90 * 24 * time.Hour)})
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertNotError(t, err, "empty CRL")
 	test.AssertMetricWithLabelsEquals(t, cu.updatedCounter, prometheus.Labels{
 		"issuer": "(TEST) Elegant Elephant E1", "result": "success",
@@ -379,7 +381,7 @@
 
 	// Errors closing the Storer upload stream should bubble up.
 	cu.cs = &fakeStorer{uploaderStream: &noopUploader{recvErr: sentinelErr}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "storer error")
 	test.AssertContains(t, err.Error(), "closing CRLStorer upload stream")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -390,7 +392,7 @@
 
 	// Errors sending to the Storer should bubble up sooner.
 	cu.cs = &fakeStorer{uploaderStream: &noopUploader{sendErr: sentinelErr}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "storer error")
 	test.AssertContains(t, err.Error(), "sending CRLStorer metadata")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -400,8 +402,8 @@
 	cu.updatedCounter.Reset()
 
 	// Errors reading from the CA should bubble up sooner.
-	cu.ca = &fakeCA{gcc: generateCRLStream{recvErr: sentinelErr}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	cu.mtca = &fakeCA{gcc: generateCRLStream{recvErr: sentinelErr}}
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "CA error")
 	test.AssertContains(t, err.Error(), "receiving CRL bytes")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -411,8 +413,8 @@
 	cu.updatedCounter.Reset()
 
 	// Errors sending to the CA should bubble up sooner.
-	cu.ca = &fakeCA{gcc: generateCRLStream{sendErr: sentinelErr}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	cu.mtca = &fakeCA{gcc: generateCRLStream{sendErr: sentinelErr}}
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "CA error")
 	test.AssertContains(t, err.Error(), "sending CA metadata")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -427,7 +429,7 @@
 		maxNotAfter:  clk.Now().Add(90 * 24 * time.Hour),
 		latest:       &corepb.CRLEntry{Serial: "037d6a05a0f6a975380456ae605cee9889", RevokedAt: now},
 	})
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "lagging replica")
 	test.AssertContains(t, err.Error(), "database replica may be lagging")
 	test.AssertMetricWithLabelsEquals(t, cu.updatedCounter, prometheus.Labels{
@@ -442,7 +444,7 @@
 		revokedCerts: revokedCertsStream{entries: []*corepb.CRLEntry{{Serial: "0311b5d430823cfa25b0fc85d14c54ee35", RevokedAt: timestamppb.New(clk.Now().Add(-time.Hour))}}},
 		maxNotAfter:  clk.Now().Add(90 * 24 * time.Hour),
 	})
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "inconsistent primary")
 	test.AssertContains(t, err.Error(), "primary database has no revocations")
 	cu.updatedCounter.Reset()
@@ -453,9 +455,9 @@
 		revokedCerts: revokedCertsStream{entries: []*corepb.CRLEntry{{Serial: "0311b5d430823cfa25b0fc85d14c54ee35", RevokedAt: timestamppb.New(clk.Now().Add(-time.Minute))}}},
 		maxNotAfter:  clk.Now().Add(90 * 24 * time.Hour),
 	})
-	cu.ca = &fakeCA{gcc: generateCRLStream{}}
+	cu.mtca = &fakeCA{gcc: generateCRLStream{}}
 	cu.cs = &fakeStorer{uploaderStream: &noopUploader{}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertNotError(t, err, "revocations newer than the check's cutoff")
 	cu.lagFactor = 0
 	cu.updatedCounter.Reset()
@@ -469,15 +471,15 @@
 		latest:       &corepb.CRLEntry{Serial: "037d6a05a0f6a975380456ae605cee9889", RevokedAt: now},
 	}
 	cu.checkFreshness = false
-	cu.ca = &fakeCA{gcc: generateCRLStream{}}
+	cu.mtca = &fakeCA{gcc: generateCRLStream{}}
 	cu.cs = &fakeStorer{uploaderStream: &noopUploader{}}
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertNotError(t, err, "freshness check disabled")
 	cu.updatedCounter.Reset()
 
 	// Errors from the primary should bubble up.
 	useFakeSA(cu, &fakeSAC{revokedCerts: revokedCertsStream{}, maxNotAfter: clk.Now().Add(90 * 24 * time.Hour), latestErr: sentinelErr})
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "primary database error")
 	test.AssertContains(t, err.Error(), "GetLatestRevokedCertByShard")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -485,7 +487,7 @@
 
 	// Errors reading from the SA should bubble up soonest.
 	useFakeSA(cu, &fakeSAC{revokedCerts: revokedCertsStream{err: sentinelErr}, maxNotAfter: clk.Now().Add(90 * 24 * time.Hour)})
-	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "database error")
 	test.AssertContains(t, err.Error(), "retrieving entry from SA")
 	test.AssertErrorIs(t, err, sentinelErr)
@@ -495,6 +497,98 @@
 	cu.updatedCounter.Reset()
 }
 
+// recordingCA is a fake capb.CRLGeneratorClient that counts how many times
+// GenerateCRL was called. Each call gets a fresh, successful stream.
+type recordingCA struct {
+	calls int
+}
+
+func (r *recordingCA) GenerateCRL(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[capb.GenerateCRLRequest, capb.GenerateCRLResponse], error) {
+	r.calls++
+	return &generateCRLStream{}, nil
+}
+
+// TestUpdateShardMTCARouting checks that updateShard sends requests to the MTCA
+// if the issuer is an MTC CA.
+func TestUpdateShardMTCARouting(t *testing.T) {
+	e1, err := issuance.LoadCertificate("../../test/hierarchy/int-e1.cert.pem")
+	if err != nil {
+		t.Fatalf("loading test issuer: %s", err)
+	}
+
+	ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
+	defer cancel()
+
+	clk := clock.NewFake()
+	clk.Set(time.Date(2020, time.January, 18, 0, 0, 0, 0, time.UTC))
+	fsa := &fakeSAC{revokedCerts: revokedCertsStream{}, maxNotAfter: clk.Now().Add(90 * 24 * time.Hour)}
+	ca := &recordingCA{}
+	mtca := &recordingCA{}
+	cu, err := NewUpdater(
+		[]*issuance.Certificate{e1},
+		2,
+		18*time.Hour, // shardWidth
+		24*time.Hour, // lookbackPeriod
+		0,            // lagFactor
+		6*time.Hour,  // updatePeriod
+		time.Minute,  // updateTimeout
+		1, 1,
+		"",
+		5*time.Minute,
+		true, fsa,
+		ca,
+		mtca,
+		&fakeStorer{uploaderStream: &noopUploader{}},
+		metrics.NoopRegisterer, blog.NewMock(), clk,
+	)
+	if err != nil {
+		t.Fatalf("building test crlUpdater: %s", err)
+	}
+
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, false)
+	if err != nil {
+		t.Fatalf("updateShard(isMTC=false): %s", err)
+	}
+	if ca.calls != 1 {
+		t.Errorf("after non-MTC shard: got %d CA calls, want 1", ca.calls)
+	}
+	if mtca.calls != 0 {
+		t.Errorf("after non-MTC shard: got %d MTCA calls, want 0", mtca.calls)
+	}
+
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
+	if err != nil {
+		t.Fatalf("updateShard(isMTC=true): %s", err)
+	}
+	if ca.calls != 1 {
+		t.Errorf("after MTC shard: got %d CA calls, want 1", ca.calls)
+	}
+	if mtca.calls != 1 {
+		t.Errorf("after MTC shard: got %d MTCA calls, want 1", mtca.calls)
+	}
+
+	// No MTCA: should error for MTC issuers, without falling back to the CA.
+	cu.mtca = nil
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, true)
+	if err == nil {
+		t.Fatal("updateShard(isMTC=true) with no MTCA: got nil error, want error")
+	}
+	if !strings.Contains(err.Error(), "no MTCA available") {
+		t.Errorf("updateShard(isMTC=true) with no MTCA: got error %q, want it to contain %q", err, "no MTCA available")
+	}
+	if ca.calls != 1 {
+		t.Errorf("after MTC shard with no MTCA: got %d CA calls, want 1", ca.calls)
+	}
+
+	err = cu.updateShard(ctx, cu.clk.Now(), e1.NameID(), 1, false)
+	if err != nil {
+		t.Fatalf("updateShard(isMTC=false) with no MTCA: %s", err)
+	}
+	if ca.calls != 2 {
+		t.Errorf("after non-MTC shard with no MTCA: got %d CA calls, want 2", ca.calls)
+	}
+}
+
 func TestUpdateShardWithRetry(t *testing.T) {
 	e1, err := issuance.LoadCertificate("../../test/hierarchy/int-e1.cert.pem")
 	test.AssertNotError(t, err, "loading test issuer")
@@ -518,6 +612,7 @@
 		5*time.Minute,
 		true, fsa,
 		&fakeCA{gcc: generateCRLStream{}},
+		&fakeCA{gcc: generateCRLStream{}},
 		&fakeStorer{uploaderStream: &noopUploader{}},
 		metrics.NoopRegisterer, blog.NewMock(), clk,
 	)
@@ -526,7 +621,7 @@
 	// Ensure that having MaxAttempts set to 1 results in the clock not moving
 	// forward at all.
 	startTime := cu.clk.Now()
-	err = cu.updateShardWithRetry(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShardWithRetry(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "database error")
 	test.AssertErrorIs(t, err, sentinelErr)
 	test.AssertEquals(t, cu.clk.Now(), startTime)
@@ -536,7 +631,7 @@
 	// in, so we have to be approximate.
 	cu.maxAttempts = 5
 	startTime = cu.clk.Now()
-	err = cu.updateShardWithRetry(ctx, cu.clk.Now(), e1.NameID(), 1)
+	err = cu.updateShardWithRetry(ctx, cu.clk.Now(), e1.NameID(), 1, true)
 	test.AssertError(t, err, "database error")
 	test.AssertErrorIs(t, err, sentinelErr)
 	t.Logf("start: %v", startTime)
diff --git a/docker-compose.yml b/docker-compose.yml
index cd5aa9e..75b7cd9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -151,7 +151,7 @@
       - bouldernet
 
   bpkimetal:
-    image: ghcr.io/pkimetal/pkimetal:v1.41.0
+    image: ghcr.io/pkimetal/pkimetal-dev:20261120180849@sha256:8989c45f61973da6127389dbd0d01c629fcff210880d1800e2f60cbdd3260e2e
     volumes:
       - pkimetal-socket:/var/run/pkimetal
       - ./test/pkimetal-config.yaml:/config/config.yaml:ro
diff --git a/issuance/issuer.go b/issuance/issuer.go
index 402b42a..0084645 100644
--- a/issuance/issuer.go
+++ b/issuance/issuer.go
@@ -7,6 +7,7 @@
 	"crypto/mldsa"
 	"crypto/rsa"
 	"crypto/x509"
+	"crypto/x509/pkix"
 	"encoding/json"
 	"errors"
 	"fmt"
@@ -24,6 +25,7 @@
 	"github.com/letsencrypt/boulder/linter"
 	"github.com/letsencrypt/boulder/privatekey"
 	"github.com/letsencrypt/boulder/trees/issuancelog"
+	"github.com/letsencrypt/boulder/trees/mtx509"
 )
 
 // ----- Name ID -----
@@ -67,6 +69,7 @@
 	*x509.Certificate
 	// nameID is stored here simply for the sake of precomputation.
 	nameID NameID
+	mtcaID *reloid.RelativeOID
 }
 
 // NameID is equivalent to SubjectNameID(ic), but faster because it is
@@ -75,10 +78,25 @@
 	return ic.nameID
 }
 
-// MTCAID returns the trust anchor ID from this issuer certificate's Subject. It
-// returns an error for issuers that are not MTC CAs.
-func (ic *Certificate) MTCAID() (*reloid.RelativeOID, error) {
-	return issuancelog.MTCAID(ic.Certificate)
+// IsMTC returns true if this is an MTC issuer.
+func (ic *Certificate) IsMTC() bool {
+	return ic.mtcaID != nil
+}
+
+// MTCAID returns the trust anchor ID from this issuer certificate's Subject.
+//
+// Always non-nil when IsMTC() is true, always nil otherwise.
+func (ic *Certificate) MTCAID() *reloid.RelativeOID {
+	return ic.mtcaID
+}
+
+// Name returns a name that is useful for logs and metrics but not guaranteed
+// unique: the CommonName for regular issuers, or the MTCAID for MTC issuers.
+func (ic *Certificate) Name() string {
+	if ic.IsMTC() {
+		return ic.MTCAID().String()
+	}
+	return ic.Certificate.Subject.CommonName
 }
 
 // NewCertificate wraps an in-memory cert in an issuance.Certificate, marking it
@@ -89,7 +107,19 @@
 		return nil, errors.New("certificate is not a CA certificate")
 	}
 
-	res := Certificate{ic, 0}
+	isMTC := slices.ContainsFunc(ic.Extensions, func(extn pkix.Extension) bool {
+		return extn.Id.Equal(mtx509.IDMTCCASHA256())
+	})
+	mtcaID, err := issuancelog.MTCAID(ic)
+	if err != nil && isMTC {
+		return nil, err
+	}
+
+	res := Certificate{
+		Certificate: ic,
+		nameID:      0,
+		mtcaID:      mtcaID,
+	}
 	res.nameID = SubjectNameID(&res)
 	return &res, nil
 }
@@ -155,11 +185,15 @@
 	// The names listed here must match the names of configured profiles (see
 	// cmd/ca/main.go's Config.Issuance.CertProfiles and issuance/cert.go's
 	// ProfileConfig). If Profiles is not empty then the issuer can be used
-	// to sign precertificates and final certificates. All issuers, regardless
-	// if this field is empty or not, can be used to sign CRLs. All issuers
-	// with a profile(s) of a given key type (RSA or ECDSA) are part of a pool
-	// and each precertificate will be issued randomly from a selected pool.
-	// The selection of which pool depends on the precertificate's key algorithm.
+	// to sign:
+	//  - precertificates and final certificates (non-MTC issuers), or
+	//  - checkpoints and subtrees (MTC issuers).
+	//
+	// All issuers, regardless if this field is empty or not, can be used to
+	// sign CRLs. All issuers with a profile(s) of a given key type (RSA or
+	// ECDSA) are part of a pool and each precertificate will be issued randomly
+	// from a selected pool. The selection of which pool depends on the
+	// precertificate's key algorithm.
 	Profiles []string `validate:"dive,alphanum,min=1,max=32"`
 
 	IssuerURL  string `validate:"required,url"`
@@ -311,9 +345,9 @@
 	return len(i.profiles) > 0
 }
 
-// Name provides the Common Name specified in the issuer's certificate.
+// Name returns the Name of the issuer's certificate.
 func (i *Issuer) Name() string {
-	return i.Cert.Subject.CommonName
+	return i.Cert.Name()
 }
 
 // NameID provides the NameID of the issuer's certificate.
diff --git a/issuance/issuer_test.go b/issuance/issuer_test.go
index ab96459..8a9437f 100644
--- a/issuance/issuer_test.go
+++ b/issuance/issuer_test.go
@@ -75,13 +75,14 @@
 func TestMTCAID(t *testing.T) {
 	t.Parallel()
 	certBytes, err := base64.StdEncoding.DecodeString(strings.ReplaceAll(`
-MIIBOjCB6KADAgECAgF7MAoGCCqGSM49BAMCMBUxEzARBggrBgEFBQcZAw0Fgt8T
-BAEwHhcNMjYwNzE0MjIyNjIwWhcNMzYwNzExMjIyNjIwWjAVMRMwEQYIKwYBBQUH
-GQMNBYLfEwQBME4wEAYHKoZIzj0CAQYFK4EEACEDOgAERbiPRTb8x/eav43juNzW
-ZLId2Wl5TzmTsG5iRf+CiB+rn+TXnuUbWDIuIi/kYs3USANmLUyLxH+jNDAyMA4G
-A1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA8GA1UdDgQIBAaC3xMBAgEw
-CgYIKoZIzj0EAwIDQQAwPgIdAMebuq7759hyFC3hjrVUEaXk2TewRlXg+ohJvFoC
-HQCTMjnYvLIvTCqF3gZm38+h1iShEgMfMT522d60
+MIIBejCCAWegAwIBAgIRAc1YHteQnORnRvS5J4H+VFIwCgYIKwYBBQUHBiQwFTET
+MBEGCCsGAQUFBxkDDQWC3xMEATAeFw0yNTA3MDEwMDAwMDBaFw0zNTA3MDEyMzU5
+NTlaMBUxEzARBggrBgEFBQcZAw0Fgt8TBAEwWTATBgcqhkjOPQIBBggqhkjOPQMB
+BwNCAAR7H9Hp7K7dF0cQbxFDRkMWTXWRzD6BuR55OQn7mCAVjyqsY6g7v6ZSQCSA
+DLe5LKUhwhQKCbSWC+1sNcApd8Buo4GXMIGUMA4GA1UdDwEB/wQEAwIBBjASBgNV
+HRMBAf8ECDAGAQH/AgEAMA4GA1UdDgQHBAWC3xMEATAvBggrBgEFBQcBJgEB/wQg
+MB4wCgYIKoZIzj0EAwICBwEAAAAAAAACBwX///////8wLQYKKwYBBAGD+j0CAgQf
+MB0WG2h0dHBzOi8vaWdub3JlZC5leGFtcGxlLmNvbTAKBggrBgEFBQcGJAMBAA==
 `, "\n", ""))
 	if err != nil {
 		t.Fatal(err)
@@ -95,15 +96,37 @@
 	if err != nil {
 		t.Fatal(err)
 	}
-	caID, err := ic.MTCAID()
-	if err != nil {
-		t.Fatal(err)
+	if !ic.IsMTC() {
+		t.Fatal("IsMTC(): got false, want true")
 	}
+	caID := ic.MTCAID()
 
 	expected := "44947.4.1"
 	if caID.String() != expected {
 		t.Errorf("MTCAID(): got %s, want %s", caID, expected)
 	}
+	// MTC issuers have no CommonName, so Name() falls back to the CA ID.
+	if ic.Name() != expected {
+		t.Errorf("Name(): got %q, want %q", ic.Name(), expected)
+	}
+}
+
+func TestNonMTCCertificate(t *testing.T) {
+	t.Parallel()
+	ic, err := LoadCertificate("../test/hierarchy/int-e1.cert.pem")
+	if err != nil {
+		t.Fatal(err)
+	}
+	if ic.IsMTC() {
+		t.Error("IsMTC(): got true, want false")
+	}
+	if ic.MTCAID() != nil {
+		t.Errorf("MTCAID(): got %s, want nil", ic.MTCAID())
+	}
+	expected := "(TEST) Elegant Elephant E1"
+	if ic.Name() != expected {
+		t.Errorf("Name(): got %q, want %q", ic.Name(), expected)
+	}
 }
 
 func TestLoadCertificate(t *testing.T) {
diff --git a/mtca/mtca.go b/mtca/mtca.go
index 447db4e..3ef09e9 100644
--- a/mtca/mtca.go
+++ b/mtca/mtca.go
@@ -54,12 +54,11 @@
 	logger blog.Logger,
 	clk clock.Clock,
 ) (*mtca, error) {
-	certCAID, err := issuer.Cert.MTCAID()
-	if err != nil {
-		return nil, err
+	if !issuer.Cert.IsMTC() {
+		return nil, fmt.Errorf("not an MTC issuer: %s", issuer.Name())
 	}
-	if certCAID.String() != logID.CAID().String() {
-		return nil, fmt.Errorf("configured CA ID %q does not match issuer certificate CA ID %q", logID.CAID(), certCAID)
+	if issuer.Cert.MTCAID().String() != logID.CAID().String() {
+		return nil, fmt.Errorf("configured CA ID %q does not match issuer certificate CA ID %q", logID.CAID(), issuer.Cert.MTCAID())
 	}
 
 	if sequencingPeriod == 0 {
diff --git a/mtcb/mtcb.go b/mtcb/mtcb.go
index 0ce8256..a77eadf 100644
--- a/mtcb/mtcb.go
+++ b/mtcb/mtcb.go
@@ -69,10 +69,10 @@
 	// different CAs.
 	issuersMap := make(map[string]mtcIssuer)
 	for _, issuer := range issuers {
-		caID, err := issuer.MTCAID()
-		if err != nil {
-			return nil, fmt.Errorf("computing MTCA ID: %w", err)
+		if !issuer.IsMTC() {
+			return nil, fmt.Errorf("not an MTC issuer: %s", issuer.Name())
 		}
+		caID := issuer.MTCAID()
 
 		pubKey, ok := issuer.PublicKey.(*mldsa.PublicKey)
 		if !ok {
diff --git a/test/config-next/crl-storer.json b/test/config-next/crl-storer.json
index 89eef57..87a1823 100644
--- a/test/config-next/crl-storer.json
+++ b/test/config-next/crl-storer.json
@@ -32,6 +32,7 @@
 			"hostOverride": "sa.boulder"
 		},
 		"issuerCerts": [
+			"test/certs/webpki/mtca-1.cert.pem",
 			"test/certs/webpki/int-rsa-a.cert.pem",
 			"test/certs/webpki/int-rsa-b.cert.pem",
 			"test/certs/webpki/int-rsa-c.cert.pem",
diff --git a/test/config-next/crl-updater.json b/test/config-next/crl-updater.json
index 0e9acea..56e1f25 100644
--- a/test/config-next/crl-updater.json
+++ b/test/config-next/crl-updater.json
@@ -25,6 +25,16 @@
 			"noWaitForReady": true,
 			"hostOverride": "ca.boulder"
 		},
+		"mtcCRLGeneratorService": {
+			"dnsAuthority": "consul.service.consul",
+			"srvLookup": {
+				"service": "mtca",
+				"domain": "service.consul"
+			},
+			"timeout": "15s",
+			"noWaitForReady": true,
+			"hostOverride": "mtca.boulder"
+		},
 		"crlStorerService": {
 			"dnsAuthority": "consul.service.consul",
 			"srvLookup": {
@@ -36,6 +46,7 @@
 			"hostOverride": "crl-storer.boulder"
 		},
 		"issuerCerts": [
+			"test/certs/webpki/mtca-1.cert.pem",
 			"test/certs/webpki/int-rsa-a.cert.pem",
 			"test/certs/webpki/int-rsa-b.cert.pem",
 			"test/certs/webpki/int-rsa-c.cert.pem",
diff --git a/test/config-next/mtca.json b/test/config-next/mtca.json
index 4d325ce..d400143 100644
--- a/test/config-next/mtca.json
+++ b/test/config-next/mtca.json
@@ -27,6 +27,11 @@
 						"ra.boulder"
 					]
 				},
+				"ca.CRLGenerator": {
+					"clientNames": [
+						"crl-updater.boulder"
+					]
+				},
 				"grpc.health.v1.Health": {
 					"clientNames": [
 						"health-checker.boulder"
@@ -35,6 +40,15 @@
 			}
 		},
 		"issuance": {
+			"crlProfile": {
+				"validityInterval": "216h",
+				"maxBackdate": "1h5m",
+				"lintConfig": "test/config-next/zlint.toml",
+				"ignoredLints": [
+					"e_subscriber_crl_matches_cps_profile",
+					"e_pkimetal_lint_cabf_serverauth_crl"
+				]
+			},
 			"certProfiles": {
 				"mtcshortlived": {
 					"mtc": true,
diff --git a/test/config/mtca.json b/test/config/mtca.json
index 9b4d807..f361785 100644
--- a/test/config/mtca.json
+++ b/test/config/mtca.json
@@ -27,6 +27,11 @@
 						"ra.boulder"
 					]
 				},
+				"ca.CRLGenerator": {
+					"clientNames": [
+						"crl-updater.boulder"
+					]
+				},
 				"grpc.health.v1.Health": {
 					"clientNames": [
 						"health-checker.boulder"
@@ -35,6 +40,11 @@
 			}
 		},
 		"issuance": {
+			"crlProfile": {
+				"validityInterval": "216h",
+				"maxBackdate": "1h5m",
+				"lintConfig": "test/config-next/zlint.toml"
+			},
 			"certProfiles": {
 				"mtcshortlived": {
 					"mtc": true,
@@ -46,6 +56,8 @@
 					"maxCertificateSize": 10000,
 					"lintConfig": "test/config-next/zlint.toml",
 					"ignoredLints": [
+						"e_algorithm_identifier_improper_encoding",
+						"e_public_key_type_not_allowed",
 						"e_pkimetal_lint_cabf_serverauth_cert",
 						"e_signature_algorithm_not_supported",
 						"e_ext_authority_key_identifier_no_key_identifier",
diff --git a/trees/mtx509/mtx509.go b/trees/mtx509/mtx509.go
index 7ce43f9..fa81414 100644
--- a/trees/mtx509/mtx509.go
+++ b/trees/mtx509/mtx509.go
@@ -20,6 +20,13 @@
 	"github.com/letsencrypt/boulder/trees/subtree"
 )
 
+// IDMTCCASHA256 returns the extension OID for id-pe-mtcCertificationAuthority-SHA256.
+//
+// https://ietf-plants-wg.github.io/merkle-tree-certs/draft-ietf-plants-merkle-tree-certs.html#section-5.5
+func IDMTCCASHA256() asn1.ObjectIdentifier {
+	return asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 1, 38}
+}
+
 // MTCAID returns the trust anchor ID from an issuer certificate's Subject or an
 // MTC certificate's Issuer. It returns an error if no trust anchor ID is found.
 func MTCAID(rdn pkix.Name) (*reloid.RelativeOID, error) {