mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 07:28:51 +00:00
Add more missing ACME stuff
# Conflicts: # frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/ProfileRow.tsx # Conflicts: # frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/CreateProfileModal.tsx
This commit is contained in:
@@ -225,11 +225,8 @@ export const certificateProfileServiceFactory = ({
|
||||
message: "API enrollment requires API configuration"
|
||||
});
|
||||
}
|
||||
if (data.enrollmentType === EnrollmentType.ACME && !data.acmeConfig) {
|
||||
throw new ForbiddenRequestError({
|
||||
message: "ACME enrollment requires ACME configuration"
|
||||
});
|
||||
}
|
||||
// TODO: acme type currently doesn't require config obj, but add a check in the future if
|
||||
// we have options
|
||||
|
||||
// Create enrollment configs and profile
|
||||
const profile = await certificateProfileDAL.transaction(async (tx) => {
|
||||
|
||||
Reference in New Issue
Block a user