Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add a new option on PKI ACME enrollment method to skip EAB validation
Carlos Monastyrski44b7e3dbeb27
diff --git a/backend/src/db/migrations/20260121192801_add-skip-eab-binding-to-acme-config.ts b/backend/src/db/migrations/20260121192801_add-skip-eab-binding-to-acme-config.tsnew file mode 100644index 0000000000..dffd845a5b--- /dev/null+++ b/backend/src/db/migrations/20260121192801_add-skip-eab-binding-to-acme-config.ts@@ -0,0 +1,23 @@+import { Knex } from "knex";++import { TableName } from "../schemas";++export async function up(knex: Knex): Promise<void> {+ if (await knex.schema.hasTable(TableName.PkiAcmeEnrollmentConfig)) {+ if (!(await knex.schema.hasColumn(TableName.PkiAcmeEnrollmentConfig, "skipEabBinding"))) {+ await knex.schema.alterTable(TableName.PkiAcmeEnrollmentConfig, (t) => {+ t.boolean("skipEabBinding").defaultTo(false).notNullable();+ });+ }+ }+}++export async function down(knex: Knex): Promise<void> {+ if (await knex.schema.hasTable(TableName.PkiAcmeEnrollmentConfig)) {+ if (await knex.schema.hasColumn(TableName.PkiAcmeEnrollmentConfig, "skipEabBinding")) {+ await knex.schema.alterTable(TableName.PkiAcmeEnrollmentConfig, (t) => {+ t.dropColumn("skipEabBinding");+ });+ }+ }+}diff --git a/backend/src/db/schemas/pki-acme-enrollment-configs.ts b/backend/src/db/schemas/pki-acme-enrollment-configs.tsindex 4f4460986f..0b7b9228b7 100644--- a/backend/src/db/schemas/pki-acme-enrollment-configs.ts+++ b/backend/src/db/schemas/pki-acme-enrollment-configs.ts@@ -14,7 +14,8 @@ export const PkiAcmeEnrollmentConfigsSchema = z.object({encryptedEabSecret: zodBuffer,createdAt: z.date(),updatedAt: z.date(),- skipDnsOwnershipVerification: z.boolean().default(false)+ skipDnsOwnershipVerification: z.boolean().default(false),+ skipEabBinding: z.boolean().default(false)});export type TPkiAcmeEnrollmentConfigs = z.infer<typeof PkiAcmeEnrollmentConfigsSchema>;diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.tsindex b3dc2e26d4..429e920148 100644--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts@@ -402,12 +402,13 @@ export const pkiAcmeServiceFactory = ({const getAcmeDirectory = async (profileId: string): Promise<TGetAcmeDirectoryResponse> => {const profile = await validateAcmeProfile(profileId);+ const skipEabBinding = profile.acmeConfig?.skipEabBinding ?? false;return {newNonce: buildUrl(profile.id, "/new-nonce"),newAccount: buildUrl(profile.id, "/new-account"),newOrder: buildUrl(profile.id, "/new-order"),meta: {- externalAccountRequired: true+ externalAccountRequired: !skipEabBinding}};};@@ -466,6 +467,9 @@ export const pkiAcmeServiceFactory = ({};}+ // Check if EAB is required for this profile (EAB is required by default unless skipEabBinding is true)+ const skipEabBinding = profile.acmeConfig?.skipEabBinding ?? false;+// Note: We only check EAB for the new account request. This is a very special case for cert-manager.// There's a bug in their ACME client implementation, they don't take the account KID value they have// and relying on a '{"onlyReturnExisting": true}' new-account request to find out their KID value.@@ -478,7 +482,7 @@ export const pkiAcmeServiceFactory = ({// It should be fine as we've already checked EAB when they created the account.// And the private key ownership indicating they are the same user.// ref: https://github.com/cert-manager/cert-manager/issues/7388#issuecomment-3535630925- if (!externalAccountBinding) {+ if (!skipEabBinding && !externalAccountBinding) {throw new AcmeExternalAccountRequiredError({ message: "External account binding is required" });}if (existingAccount) {@@ -513,54 +517,56 @@ export const pkiAcmeServiceFactory = ({};}- const certificateManagerKmsId = await getProjectKmsCertificateKeyId({- projectId: profile.projectId,- projectDAL,- kmsService- });- const kmsDecryptor = await kmsService.decryptWithKmsKey({- kmsId: certificateManagerKmsId- });- const eabSecret = await kmsDecryptor({ cipherTextBlob: profile.acmeConfig!.encryptedEabSecret! });- const { eabPayload, eabProtectedHeader } = await (async () => {- try {- const result = await flattenedVerify(externalAccountBinding, eabSecret);- return { eabPayload: result.payload, eabProtectedHeader: result.protectedHeader };- } catch (error) {- if (error instanceof errors.JWSSignatureVerificationFailed) {- throw new AcmeExternalAccountRequiredError({ message: "Invalid external account binding JWS signature" });+ if (externalAccountBinding && !skipEabBinding) {+ const certificateManagerKmsId = await getProjectKmsCertificateKeyId({+ projectId: profile.projectId,+ projectDAL,+ kmsService+ });+ const kmsDecryptor = await kmsService.decryptWithKmsKey({+ kmsId: certificateManagerKmsId+ });+ const eabSecret = await kmsDecryptor({ cipherTextBlob: profile.acmeConfig!.encryptedEabSecret! });+ const { eabPayload, eabProtectedHeader } = await (async () => {+ try {+ const result = await flattenedVerify(externalAccountBinding, eabSecret);+ return { eabPayload: result.payload, eabProtectedHeader: result.protectedHeader };+ } catch (error) {+ if (error instanceof errors.JWSSignatureVerificationFailed) {+ throw new AcmeExternalAccountRequiredError({ message: "Invalid external account binding JWS signature" });+ }+ logger.error(error, "Unexpected error while verifying EAB JWS signature");+ throw new AcmeServerInternalError({ message: "Failed to verify EAB JWS signature" });}- logger.error(error, "Unexpected error while verifying EAB JWS signature");- throw new AcmeServerInternalError({ message: "Failed to verify EAB JWS signature" });- }- })();+ })();- const { alg: eabAlg, kid: eabKid } = eabProtectedHeader!;- if (!["HS256", "HS384", "HS512"].includes(eabAlg!)) {- throw new AcmeExternalAccountRequiredError({- message: "Invalid algorithm for external account binding JWS payload"- });- }- // Make sure the KID in the EAB payload matches the profile ID- if (eabKid !== profile.id) {- throw new AcmeExternalAccountRequiredError({ message: "External account binding KID mismatch" });- }+ const { alg: eabAlg, kid: eabKid } = eabProtectedHeader!;+ if (!["HS256", "HS384", "HS512"].includes(eabAlg!)) {+ throw new AcmeExternalAccountRequiredError({+ message: "Invalid algorithm for external account binding JWS payload"+ });+ }+ // Make sure the KID in the EAB payload matches the profile ID+ if (eabKid !== profile.id) {+ throw new AcmeExternalAccountRequiredError({ message: "External account binding KID mismatch" });+ }- // Make sure the URL matches the expected URL- const url = eabProtectedHeader!.url!;- if (url !== buildUrl(profile.id, "/new-account")) {- throw new AcmeExternalAccountRequiredError({ message: "External account binding URL mismatch" });- }+ // Make sure the URL matches the expected URL+ const url = eabProtectedHeader!.url!;+ if (url !== buildUrl(profile.id, "/new-account")) {+ throw new AcmeExternalAccountRequiredError({ message: "External account binding URL mismatch" });+ }- // Make sure the JWK in the EAB payload matches the one provided in the outer JWS payload- const decoder = new TextDecoder();- const decodedEabPayload = decoder.decode(eabPayload);- const eabJWK = JSON.parse(decodedEabPayload) as JsonWebKey;- const eabPayloadJwkThumbprint = await calculateJwkThumbprint(eabJWK, "sha256");- if (eabPayloadJwkThumbprint !== publicKeyThumbprint) {- throw new AcmeBadPublicKeyError({- message: "External account binding public key thumbprint or algorithm mismatch"- });+ // Make sure the JWK in the EAB payload matches the one provided in the outer JWS payload+ const decoder = new TextDecoder();+ const decodedEabPayload = decoder.decode(eabPayload);+ const eabJWK = JSON.parse(decodedEabPayload) as JsonWebKey;+ const eabPayloadJwkThumbprint = await calculateJwkThumbprint(eabJWK, "sha256");+ if (eabPayloadJwkThumbprint !== publicKeyThumbprint) {+ throw new AcmeBadPublicKeyError({+ message: "External account binding public key thumbprint or algorithm mismatch"+ });+ }}// TODO: handle unique constraint violation error, should be very very rarediff --git a/backend/src/server/routes/v1/certificate-profiles-router.ts b/backend/src/server/routes/v1/certificate-profiles-router.tsindex df9a6493bd..440497c0b2 100644--- a/backend/src/server/routes/v1/certificate-profiles-router.ts+++ b/backend/src/server/routes/v1/certificate-profiles-router.ts@@ -53,7 +53,8 @@ export const registerCertificateProfilesRouter = async (.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional(),externalConfigs: ExternalConfigUnionSchema@@ -91,6 +92,17 @@ export const registerCertificateProfilesRouter = async (message: "ACME enrollment type requires ACME configuration"})+ .refine(+ (data) => {+ if (data.enrollmentType === EnrollmentType.ACME && data.acmeConfig) {+ return !(data.acmeConfig.skipEabBinding && data.acmeConfig.skipDnsOwnershipVerification);+ }+ return true;+ },+ {+ message: "Cannot skip both External Account Binding (EAB) and DNS ownership verification at the same time."+ }+ ).refine((data) => {if (data.enrollmentType === EnrollmentType.EST) {@@ -255,7 +267,8 @@ export const registerCertificateProfilesRouter = async (.object({id: z.string(),directoryUrl: z.string(),- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional(),externalConfigs: ExternalConfigUnionSchema@@ -340,6 +353,14 @@ export const registerCertificateProfilesRouter = async (renewBeforeDays: z.number().optional()}).optional(),+ acmeConfig: z+ .object({+ id: z.string(),+ directoryUrl: z.string(),+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()+ })+ .optional(),externalConfigs: ExternalConfigUnionSchema})})@@ -449,7 +470,8 @@ export const registerCertificateProfilesRouter = async (.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional(),externalConfigs: ExternalConfigUnionSchemadiff --git a/backend/src/services/certificate-profile/certificate-profile-dal.ts b/backend/src/services/certificate-profile/certificate-profile-dal.tsindex c5390b901c..519dce88a5 100644--- a/backend/src/services/certificate-profile/certificate-profile-dal.ts+++ b/backend/src/services/certificate-profile/certificate-profile-dal.ts@@ -172,7 +172,8 @@ export const certificateProfileDALFactory = (db: TDbClient) => {db.ref("skipDnsOwnershipVerification").withSchema(TableName.PkiAcmeEnrollmentConfig)- .as("acmeConfigSkipDnsOwnershipVerification")+ .as("acmeConfigSkipDnsOwnershipVerification"),+ db.ref("skipEabBinding").withSchema(TableName.PkiAcmeEnrollmentConfig).as("acmeConfigSkipEabBinding")).where(`${TableName.PkiCertificateProfile}.id`, id).first();@@ -203,7 +204,8 @@ export const certificateProfileDALFactory = (db: TDbClient) => {? ({id: result.acmeConfigId,encryptedEabSecret: result.acmeConfigEncryptedEabSecret,- skipDnsOwnershipVerification: result.acmeConfigSkipDnsOwnershipVerification ?? false+ skipDnsOwnershipVerification: result.acmeConfigSkipDnsOwnershipVerification ?? false,+ skipEabBinding: result.acmeConfigSkipEabBinding ?? false} as TCertificateProfileWithConfigs["acmeConfig"]): undefined;@@ -367,7 +369,8 @@ export const certificateProfileDALFactory = (db: TDbClient) => {db.ref("skipDnsOwnershipVerification").withSchema(TableName.PkiAcmeEnrollmentConfig)- .as("acmeSkipDnsOwnershipVerification")+ .as("acmeSkipDnsOwnershipVerification"),+ db.ref("skipEabBinding").withSchema(TableName.PkiAcmeEnrollmentConfig).as("acmeSkipEabBinding"));if (processedRules) {@@ -405,7 +408,8 @@ export const certificateProfileDALFactory = (db: TDbClient) => {const acmeConfig = result.acmeId? {id: result.acmeId as string,- skipDnsOwnershipVerification: !!result.acmeSkipDnsOwnershipVerification+ skipDnsOwnershipVerification: !!result.acmeSkipDnsOwnershipVerification,+ skipEabBinding: !!result.acmeSkipEabBinding}: undefined;diff --git a/backend/src/services/certificate-profile/certificate-profile-schemas.ts b/backend/src/services/certificate-profile/certificate-profile-schemas.tsindex 3ac4def572..48a990943b 100644--- a/backend/src/services/certificate-profile/certificate-profile-schemas.ts+++ b/backend/src/services/certificate-profile/certificate-profile-schemas.ts@@ -32,7 +32,8 @@ export const createCertificateProfileSchema = z.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional()})@@ -162,7 +163,8 @@ export const updateCertificateProfileSchema = z.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional()})diff --git a/backend/src/services/certificate-profile/certificate-profile-service.ts b/backend/src/services/certificate-profile/certificate-profile-service.tsindex 9ff30dd466..35b4ed3763 100644--- a/backend/src/services/certificate-profile/certificate-profile-service.ts+++ b/backend/src/services/certificate-profile/certificate-profile-service.ts@@ -349,8 +349,13 @@ export const certificateProfileServiceFactory = ({message: "API enrollment requires API configuration"});}- // TODO: acme type currently doesn't require config obj, but add a check in the future if- // we have options+ if (data.enrollmentType === EnrollmentType.ACME && data.acmeConfig) {+ if (data.acmeConfig.skipEabBinding && data.acmeConfig.skipDnsOwnershipVerification) {+ throw new ForbiddenRequestError({+ message: "Cannot skip both External Account Binding (EAB) and DNS ownership verification at the same time."+ });+ }+ }// Create enrollment configs and profileconst profile = await certificateProfileDAL.transaction(async (tx) => {@@ -397,6 +402,7 @@ export const certificateProfileServiceFactory = ({const acmeConfig = await acmeEnrollmentConfigDAL.create({skipDnsOwnershipVerification: data.acmeConfig.skipDnsOwnershipVerification ?? false,+ skipEabBinding: data.acmeConfig.skipEabBinding ?? false,encryptedEabSecret},tx@@ -499,6 +505,21 @@ export const certificateProfileServiceFactory = ({);}+ if (finalEnrollmentType === EnrollmentType.ACME && data.acmeConfig && existingProfile.acmeConfigId) {+ const existingAcmeConfig = await acmeEnrollmentConfigDAL.findById(existingProfile.acmeConfigId);+ if (existingAcmeConfig) {+ const finalSkipEabBinding = data.acmeConfig.skipEabBinding ?? existingAcmeConfig.skipEabBinding;+ const finalSkipDnsOwnershipVerification =+ data.acmeConfig.skipDnsOwnershipVerification ?? existingAcmeConfig.skipDnsOwnershipVerification;++ if (finalSkipEabBinding && finalSkipDnsOwnershipVerification) {+ throw new ForbiddenRequestError({+ message: "Cannot skip both External Account Binding (EAB) and DNS ownership verification at the same time."+ });+ }+ }+ }+const updatedData =finalIssuerType === IssuerType.SELF_SIGNED && existingProfile.caId ? { ...data, caId: null } : data;@@ -545,13 +566,16 @@ export const certificateProfileServiceFactory = ({}if (acmeConfig && existingProfile.acmeConfigId) {- await acmeEnrollmentConfigDAL.updateById(- existingProfile.acmeConfigId,- {- skipDnsOwnershipVerification: acmeConfig.skipDnsOwnershipVerification ?? false- },- tx- );+ const acmeUpdateData: { skipDnsOwnershipVerification?: boolean; skipEabBinding?: boolean } = {};+ if (acmeConfig.skipDnsOwnershipVerification !== undefined) {+ acmeUpdateData.skipDnsOwnershipVerification = acmeConfig.skipDnsOwnershipVerification;+ }+ if (acmeConfig.skipEabBinding !== undefined) {+ acmeUpdateData.skipEabBinding = acmeConfig.skipEabBinding;+ }+ if (Object.keys(acmeUpdateData).length > 0) {+ await acmeEnrollmentConfigDAL.updateById(existingProfile.acmeConfigId, acmeUpdateData, tx);+ }}const profileResult = await certificateProfileDAL.updateById(profileId, profileUpdateData, tx);diff --git a/backend/src/services/certificate-profile/certificate-profile-types.ts b/backend/src/services/certificate-profile/certificate-profile-types.tsindex 998123c523..76b9971114 100644--- a/backend/src/services/certificate-profile/certificate-profile-types.ts+++ b/backend/src/services/certificate-profile/certificate-profile-types.ts@@ -48,6 +48,7 @@ export type TCertificateProfileUpdate = Omit<};acmeConfig?: {skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;};};@@ -86,6 +87,7 @@ export type TCertificateProfileWithConfigs = TCertificateProfile & {directoryUrl: string;encryptedEabSecret?: Buffer;skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;};};diff --git a/backend/src/services/enrollment-config/enrollment-config-types.ts b/backend/src/services/enrollment-config/enrollment-config-types.tsindex 2ea68faa7f..ef4b6332b9 100644--- a/backend/src/services/enrollment-config/enrollment-config-types.ts+++ b/backend/src/services/enrollment-config/enrollment-config-types.ts@@ -39,4 +39,5 @@ export interface TApiConfigData {export interface TAcmeConfigData {skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;}diff --git a/frontend/src/hooks/api/certificateProfiles/types.ts b/frontend/src/hooks/api/certificateProfiles/types.tsindex 704467ad73..8f6df97ad2 100644--- a/frontend/src/hooks/api/certificateProfiles/types.ts+++ b/frontend/src/hooks/api/certificateProfiles/types.ts@@ -63,6 +63,7 @@ export type TCertificateProfileWithDetails = TCertificateProfile & {id: string;directoryUrl: string;skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;};};@@ -83,7 +84,10 @@ export type TCreateCertificateProfileDTO = {autoRenew?: boolean;renewBeforeDays?: number;};- acmeConfig?: unknown;+ acmeConfig?: {+ skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;+ };externalConfigs?: Record<string, unknown> | null;};@@ -102,7 +106,10 @@ export type TUpdateCertificateProfileDTO = {autoRenew?: boolean;renewBeforeDays?: number;};- acmeConfig?: unknown;+ acmeConfig?: {+ skipDnsOwnershipVerification?: boolean;+ skipEabBinding?: boolean;+ };externalConfigs?: Record<string, unknown> | null;};diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsxindex effe35f21c..26ba48812e 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx@@ -80,7 +80,8 @@ const createSchema = z.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional(),externalConfigs: z@@ -155,6 +156,17 @@ const createSchema = zmessage: "ACME enrollment type cannot have EST or API configuration"})+ .refine(+ (data) => {+ if (data.enrollmentType === EnrollmentType.ACME && data.acmeConfig) {+ return !(data.acmeConfig.skipEabBinding && data.acmeConfig.skipDnsOwnershipVerification);+ }+ return true;+ },+ {+ message: "Cannot skip both EAB and DNS ownership validation."+ }+ ).refine((data) => {if (data.issuerType === IssuerType.CA) {@@ -224,7 +236,8 @@ const editSchema = z.optional(),acmeConfig: z.object({- skipDnsOwnershipVerification: z.boolean().optional()+ skipDnsOwnershipVerification: z.boolean().optional(),+ skipEabBinding: z.boolean().optional()}).optional(),externalConfigs: z@@ -299,6 +312,17 @@ const editSchema = zmessage: "ACME enrollment type cannot have EST or API configuration"})+ .refine(+ (data) => {+ if (data.enrollmentType === EnrollmentType.ACME && data.acmeConfig) {+ return !(data.acmeConfig.skipEabBinding && data.acmeConfig.skipDnsOwnershipVerification);+ }+ return true;+ },+ {+ message: "Cannot skip both EAB and DNS ownership validation."+ }+ ).refine((data) => {if (data.issuerType === IssuerType.CA) {@@ -404,7 +428,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }profile.enrollmentType === EnrollmentType.ACME? {skipDnsOwnershipVerification:- profile.acmeConfig?.skipDnsOwnershipVerification || false+ profile.acmeConfig?.skipDnsOwnershipVerification || false,+ skipEabBinding: profile.acmeConfig?.skipEabBinding || false}: undefined,externalConfigs: profile.externalConfigs@@ -430,7 +455,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }renewBeforeDays: 30},acmeConfig: {- skipDnsOwnershipVerification: false+ skipDnsOwnershipVerification: false,+ skipEabBinding: false},externalConfigs: undefined}@@ -441,6 +467,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }const watchedCertificateAuthorityId = watch("certificateAuthorityId");const watchedDisableBootstrapValidation = watch("estConfig.disableBootstrapCaValidation");const watchedAutoRenew = watch("apiConfig.autoRenew");+ const watchedSkipDnsOwnershipVerification = watch("acmeConfig.skipDnsOwnershipVerification");+ const watchedSkipEabBinding = watch("acmeConfig.skipEabBinding");// Get the selected CA to check if it's Azure ADCSconst selectedCa = certificateAuthorities.find((ca) => ca.id === watchedCertificateAuthorityId);@@ -482,7 +510,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }profile.enrollmentType === EnrollmentType.ACME? {skipDnsOwnershipVerification:- profile.acmeConfig?.skipDnsOwnershipVerification || false+ profile.acmeConfig?.skipDnsOwnershipVerification || false,+ skipEabBinding: profile.acmeConfig?.skipEabBinding || false}: undefined,externalConfigs: profile.externalConfigs@@ -667,7 +696,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }});setValue("estConfig", undefined);setValue("acmeConfig", {- skipDnsOwnershipVerification: false+ skipDnsOwnershipVerification: false,+ skipEabBinding: false});}onChange(value);@@ -799,7 +829,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }setValue("estConfig", undefined);setValue("apiConfig", undefined);setValue("acmeConfig", {- skipDnsOwnershipVerification: false+ skipDnsOwnershipVerification: false,+ skipEabBinding: false});}onChange(value);@@ -850,7 +881,8 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }setValue("apiConfig", undefined);setValue("estConfig", undefined);setValue("acmeConfig", {- skipDnsOwnershipVerification: false+ skipDnsOwnershipVerification: false,+ skipEabBinding: false});}onChange(value);@@ -978,16 +1010,58 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }{/* ACME Configuration */}{watchedEnrollmentType === "acme" && (<div className="mb-4 space-y-4">+ <Controller+ control={control}+ name="acmeConfig.skipEabBinding"+ render={({ field: { value, onChange }, fieldState: { error } }) => (+ <FormControl isError={Boolean(error)} errorText={error?.message}>+ <div+ className={`flex items-center gap-3 rounded-md border bg-mineshaft-900 p-4 ${+ watchedSkipDnsOwnershipVerification+ ? "border-mineshaft-700 opacity-50"+ : "border-mineshaft-600"+ }`}+ >+ <Checkbox+ id="skipEabBinding"+ isChecked={value || false}+ onCheckedChange={onChange}+ isDisabled={watchedSkipDnsOwnershipVerification}+ />+ <div className="space-y-1">+ <span className="text-sm font-medium text-mineshaft-100">+ Skip External Account Binding (EAB)+ </span>+ <p className="text-xs text-bunker-300">+ Skip EAB authentication when clients create ACME accounts.+ </p>+ {watchedSkipDnsOwnershipVerification && (+ <p className="text-xs text-yellow-500">+ Cannot be enabled while DNS ownership validation is skipped.+ </p>+ )}+ </div>+ </div>+ </FormControl>+ )}+ /><Controllercontrol={control}name="acmeConfig.skipDnsOwnershipVerification"render={({ field: { value, onChange }, fieldState: { error } }) => (<FormControl isError={Boolean(error)} errorText={error?.message}>- <div className="flex items-center gap-3 rounded-md border border-mineshaft-600 bg-mineshaft-900 p-4">+ <div+ className={`flex items-center gap-3 rounded-md border bg-mineshaft-900 p-4 ${+ watchedSkipEabBinding+ ? "border-mineshaft-700 opacity-50"+ : "border-mineshaft-600"+ }`}+ ><Checkboxid="skipDnsOwnershipVerification"isChecked={value || false}onCheckedChange={onChange}+ isDisabled={watchedSkipEabBinding}/><div className="space-y-1"><span className="text-sm font-medium text-mineshaft-100">@@ -996,6 +1070,11 @@ export const CreateProfileModal = ({ isOpen, onClose, profile, mode = "create" }<p className="text-xs text-bunker-300">Skip DNS ownership verification during ACME certificate issuance.</p>+ {watchedSkipEabBinding && (+ <p className="text-xs text-yellow-500">+ Cannot be enabled while EAB is skipped.+ </p>+ )}</div></div></FormControl>