ACME Configuration Guide

ACME Configuration Guide

Overview

ACME (RFC 8555) is an open standard protocol that automates the entire certificate lifecycle between a client application and a Certificate Authority. In this setup, CERTInext acts as the ACME-compliant CA and your ACME client (such as WinACME or Certbot) communicates with it on your behalf.

The protocol removes the need for manual certificate requests, CSR submissions, and renewal tracking. Once configured, the client handles everything automatically on a scheduled basis.

CERTInext supports ACME through External Account Binding (EAB), which securely ties an ACME client to an authenticated CERTInext organization account.

This guide applies to organizations migrating to CERTInext as part of the InCommon Certificate Services platform migration. The credential provisioning described in How ACME Credentials Are Created Through the Import assumes that a data migration from your legacy provider has been completed or is in progress. If you have not migrated, create your ACME credentials manually as described in Retrieving Your API Credentials from CERTInext.

Prerequisites

Before getting started, ensure the following are in place:

  • You are logged in to CERTInext with an Administrator or Primary Admin role.
  • At least one validated Organization exists in your CERTInext account.
  • You have access to your domain's DNS settings to complete domain control validation.
  • Your ACME client (WinACME, Certbot or acme.sh) is downloaded and installed on your machine.

Setup at a Glance

The diagram below summarizes the full setup with WinACME: create and copy your credentials in the CERTInext portal, then configure WinACME on your Windows machine. Each step is covered in detail in the sections that follow.

ACME setup flow: CERTInext portal to WinACME

How ACME Works in CERTInext

1. The client contacts the ACME directory

The ACME client calls your CERTInext directory URL to discover available endpoints such as new account registration, new order and certificate revocation.

2. Account registration using EAB credentials

The client registers a new ACME account using the External Account Binding credentials (Key ID and MAC Key) generated from your CERTInext portal. This binds the ACME session to your specific organization within CERTInext and enforces your organization's certificate policy.

3. A certificate order is placed

The client submits an order for the domain or domains that require a certificate.

4. Domain Control Validation

CERTInext issues a challenge to confirm that the requester controls the domain. Two methods are supported:

  • DNS-01: Requires a TXT record named _acme-challenge.<yourdomain> at your DNS provider with a token value supplied by the CA. This method supports wildcard certificates and is suitable for environments without a public-facing web server.
  • HTTP-01: Requires a token file at http://<yourdomain>/.well-known/acme-challenge/<token> on your web server. Port 80 must be publicly accessible from the internet.

DCV Inheritance: If a parent domain has already completed DCV in your account, qualifying subdomains can be auto-verified by inheriting the parent's validation, even when the subdomain is delegated to a different nameserver. A separate challenge is then not required for each subdomain. DCV inheritance is an account-level setting and is enabled by default. For details on inheritance, the Verification Type column and per-domain opt-out, see the Domains and DCV Inheritance guide.

5. The CA verifies the challenge

CERTInext checks for the token via DNS lookup or HTTP fetch, depending on the method selected.

6. The certificate is issued

On successful validation, CERTInext signs and issues the TLS certificate.

7. The certificate is downloaded and installed

The ACME client downloads the signed certificate and installs it to the configured location on your machine or server.

8. Auto-renewal runs on schedule

The ACME client schedules automatic renewal ahead of the certificate's expiry date and repeats the full process with no manual action required.

Why EAB is required: Standard ACME allows anonymous account creation. CERTInext requires EAB so that every certificate request is linked to a verified organization. This enforces certificate policy per organization, maintains a full audit trail and prevents unauthorized issuance. Every ACME request must include a valid Key ID and MAC Key issued from CERTInext.

How ACME Credentials Are Created Through the Import

When your organization's data is migrated into CERTInext using the Import Wizard, ACME EAB credentials are created automatically for each ACME account found in the source export. Your ACME configurations are carried over and provisioned in CERTInext without manual credential setup.

The Import Wizard processes entities in this order:

Account → Organizations → Groups → Users → Domains → Certificates → ACME → Preview → Progress

ACME credentials are provisioned after the organizational structure (groups, users and domains) is in place, so they are scoped to the correct organization and group. At the ACME step of the wizard:

  • All ACME accounts from the source system are listed, organized by organization.
  • Each entry shows the description, assigned user, group name and certificate product type.
  • The product type (DV, OV or EV) and organization are resolved automatically from the source data.
  • All accounts are pre-selected. You can deselect individual accounts or entire organizations if they are not required.
  • Once the import completes, CERTInext generates a new EAB Key ID and MAC Key for each imported account and activates them under the respective organization.

Verify credentials after import

  1. Log in to the CERTInext portal.
  2. Go to Integrations → APIs.
  3. Confirm that the imported ACME credentials show a status of Active.
  4. Click View next to a credential to retrieve its Key ID, MAC Key and Directory URL.

These credentials are immediately ready for use with any ACME-compatible client.

View API key credentials showing the Key ID, MAC Key and Directory URL

View API key credentials showing the Key ID, MAC Key and Directory URL

Important: Each ACME credential is bound to a Group. Orders succeed only for domains allowed by that Group's Permit list (and not on its Restrict list). A domain outside the Permit list can pass ACME challenge validation but is rejected at issuance. To change which domains can be issued through a credential, edit the Group's domain configuration.

Retrieving Your API Credentials from CERTInext

  1. Log in to the CERTInext portal.
  2. In the left navigation panel, click Integrations.
  3. Select APIs.

The page lists all API credentials with their Created Date, API Type, CA Connector, Identifier, API Key credentials, Group Name, User, Products, Tags and Status. The action menu lets you view history, revoke or delete a credential.

Generate new EAB credentials

To create a new set of credentials manually, for example for a new server or group, click Create API Credentials on the Integrations → APIs page and complete the form:

  • API Type: Select ACME.
  • CA Connector: Select SSL.com. This is the Certificate Authority that issues certificates for this credential set.
  • Identifier: Enter a label for this credential set, for example "WinACME Production Server" or "Kubernetes Cluster Cert". Maximum 200 characters.
  • User: Select the CERTInext user who will own this credential set.
  • Groups: Select the group this credential set is scoped to, so certificates issued through it are tied to the correct organizational unit.
  • Product: Select the product that matches your use case. For a single-domain certificate, choose a standard product such as InCommon DV SSL or OV SSL. For a certificate covering multiple domains (SANs), choose the UCC product, for example InCommon DV SSL UCC or OV SSL UCC.
  • Add Tag: Optionally add tags to filter API credentials by purpose.

Note: The credential is bound to the product you select, and every certificate issued through it uses that type. If you need both single-domain and multi-domain certificates, create separate credentials for each product.

Create API Credentials form

Create API Credentials form

Click Generate. CERTInext generates and displays two values:

  • Key ID (also called eabkid): a short alphanumeric identifier for the account.
  • MAC Key (also called eabmackey): a long base64url-encoded string used to sign ACME requests.

Copy and store both values securely. You can retrieve them later by clicking View next to the credential on the Integrations → APIs page.

Your ACME directory URL

The ACME directory URL is a shared endpoint per environment, following RFC 8555. All ACME credential sets on the same CERTInext environment use the same directory URL, which is shown with your Key ID and MAC Key when you click View.

EnvironmentDirectory URL
Production (US)https://acme-us.certinext.io/v1/directory
Sandbox (US)https://sandbox-us-acme.certinext.io/v1/directory

Each ACME credential set is identified by its Key ID and MAC Key (passed via External Account Binding), not by the directory URL. The Key ID and MAC Key bind the ACME session to your organization in CERTInext.

Configuring WinACME on Windows

WinACME is a Windows-native ACME client with both an interactive wizard and command-line automation. The steps below use the interactive wizard. For unattended runs, see Command Line Automation (Unattended Mode).

1. Update settings.json before launching

Before opening WinACME for the first time, open settings.json in your WinACME installation folder in Notepad or VS Code and replace the default Let's Encrypt URLs with your CERTInext directory URL:

{
"Acme": {
"DefaultBaseUri": "https://acme-us.certinext.io/v1/directory",
"DefaultBaseUriTest": "https://acme-us.certinext.io/v1/directory",
"DefaultBaseUriImport": "https://acme-us.certinext.io/v1/directory"
}
}

Note: Use the Sandbox URL https://sandbox-us-acme.certinext.io/v1/directory for testing, or the Production URL https://acme-us.certinext.io/v1/directory for live deployments.

Save the file before launching WinACME. The application reads this file only at startup.

2. Launch WinACME as administrator

Right-click wacs.exe and select Run as administrator. Confirm the startup message shows your CERTInext directory URL (the Production or Sandbox URL you set):

Connecting to https://acme-us.certinext.io/v1/directory...
Connection OK!

If the message still references acme-v02.api.letsencrypt.org, close the application, check that settings.json was saved correctly and relaunch.

WinACME connecting to CERTInext

WinACME connecting to CERTInext

3. Choose full options mode

From the main menu, select M: Create certificate (full options). This mode gives access to all configuration options, including EAB credential entry.

4. Complete the wizard prompts

The wizard asks a series of questions to configure the certificate request:

PromptWhat to select
Domain sourceSelect Manual input and enter your fully qualified domain name. Press Enter again when asked to add more domains, unless you are securing multiple domains with one certificate.
Certificate splittingSelect Single certificate. This suits most use cases. Separate certificate options are available if you want to isolate a large number of domains.
Domain ownership validation methodSelect the method that matches your environment:
  • Save verification files on a network path (HTTP-01): WinACME runs on the same machine as your web server, which is publicly accessible on port 80.
  • Create verification records manually (DNS-01): Works in any environment and supports wildcard certificates. You place a TXT record at your DNS provider, and each renewal needs a new TXT record.
  • Create verification records with acme-dns (DNS-01): Uses a dedicated acme-dns relay so the challenge record is updated automatically.
  • Create verification records with your own script (DNS-01): For organizations with a scriptable DNS API.
Private key typeSelect RSA key. When prompted for key size, enter 2048, as required by CERTInext.
Certificate storageSelect the option for your environment:
  • PEM encoded files: Standard .pem files for Apache, nginx or any Linux-based server. You are prompted for a folder path, and the folder must already exist.
  • Windows Certificate Store (Local Computer): Installs the certificate directly into the Windows certificate store. Recommended for IIS and other Windows services.
  • PFX archive: A password-protected .pfx file for manual import or Windows applications.
When asked whether to store the certificate in an additional way, select No additional store steps unless you need it in multiple formats.
Installation stepsIf you are not integrating with IIS or running a post-install script, select No additional installation steps.
Terms of service and emailYou may decline to open the terms of service PDF, but you must agree to the terms to proceed. Enter your email address for notifications from CERTInext.

Recommended: For fully automated renewal, use acme-dns, HTTP-01 or a DNS provider plugin. Manual DNS-01 is supported and is used as the worked example in Completing Domain Control Validation, but it needs a new TXT record at every renewal.

5. Enter EAB credentials

After the terms step, WinACME detects that CERTInext requires External Account Binding and shows This ACME endpoint requires an external account. Enter your Key ID at the Key identifier prompt and your MAC Key at the Key (base64url encoded) prompt. Both values are available by clicking View next to the credential under Integrations → APIs.

If EAB authentication fails, check that both values were copied exactly, with no extra spaces or line breaks, and that the credential status in the portal is Active.

Once EAB authentication succeeds, the wizard continues automatically to domain validation, issuance, download and installation. Continue at Completing Domain Control Validation below.

Command Line Automation (Unattended Mode)

As an alternative to the wizard, you can pass every option on the command line so WinACME runs unattended with no prompts. The first host in --host becomes the certificate common name, and any additional comma-separated hosts become Subject Alternative Names (SANs). Use the Sandbox directory URL for testing and the Production URL for live deployments.

Issue a single-domain certificate

wacs.exe --verbose --source manual --host yourdomain.com --baseuri https://acme-us.certinext.io/v1/directory --eab-key-identifier <KeyID> --eab-key <MACKey> --validationmode dns-01 --validation manual --accepttos --emailaddress you@org.edu --store pemfiles --pemfilespath C:\path\to\certs

Issue a multi-domain (UCC / SAN) certificate

List the common name first, then each additional SAN, separated by commas.

wacs.exe --verbose --source manual --host cn.example.edu,a.example.edu,b.example.edu,c.example.edu --baseuri https://acme-us.certinext.io/v1/directory --eab-key-identifier <KeyID> --eab-key <MACKey> --validationmode dns-01 --validation manual --accepttos --emailaddress you@org.edu --store pemfiles --pemfilespath C:\path\to\certs

Important: The ACME credential must be bound to a UCC product. Otherwise, the additional SANs are not included in the certificate.

Verbose logging

Add --verbose to any command to capture a detailed log of the ACME exchange (directory, account, order, authorizations and finalize steps). Include this log when raising a support ticket, as it shows exactly where a run succeeded or failed.

Other operations

TaskCommand
List existing renewalswacs.exe --list
Renew now (even if not yet due)wacs.exe --verbose --renew --force
Cancel a renewalwacs.exe --cancel --friendlyname "yourdomain.com"
Revoke a certificatewacs.exe --verbose --revoke --friendlyname "yourdomain.com" --baseuri https://acme-us.certinext.io/v1/directory
Assign a friendly nameAdd --friendlyname "my-cert-name" to give an order its own identity, for example a new order that should not be treated as a renewal of an existing one.

Note: CERTInext requires an explicit, supported revocation reason. If a revoke request is rejected with a reason error, run it again with a supported reason, for example superseded or cessation of operation.

Completing Domain Control Validation

This step applies whether you used the interactive wizard or the command line. After External Account Binding succeeds, the client moves on to domain validation.

Subdomains of an already validated parent may be auto-verified through DCV inheritance and will not prompt for a separate TXT record. This is expected. See the Domains and DCV Inheritance guide for details.

DNS-01 manual validation

WinACME displays the DNS challenge record details:

Domain:  yourdomain.com
Record: _acme-challenge.yourdomain.com
Type: TXT
Content: <token value>

Log in to your DNS provider and create a TXT record with these exact values. Once the record is saved, return to WinACME and press Enter to trigger the validation check. CERTInext looks up the TXT record and confirms domain ownership.

Important: Do not press Enter until the DNS record has been saved at your provider. For external DNS, allow a few minutes for propagation before triggering validation.

HTTP-01 automatic validation

If you selected an HTTP-01 method, WinACME places the challenge token file on your web server automatically and notifies CERTInext to begin verification. No manual action is required. Make sure port 80 is accessible from the internet and that no web application firewall or proxy is blocking the /.well-known/acme-challenge/ path.

Certificate Output and Verification

Output files (PEM storage)

When PEM file storage is selected, WinACME exports the following files to your specified folder:

FileContents
<domain>-crt.pemThe signed end-entity certificate
<domain>-key.pemThe RSA private key
<domain>-chain.pemThe intermediate CA certificate chain
<domain>-crt.pfxCombined PKCS#12 archive

Verify the certificate

To confirm the certificate was issued correctly by CERTInext, open PowerShell and run:

certutil -dump "C:\<your-path>\certs\<domain>-crt.pem"

The output shows the issuer (SSL.com), the subject (your domain name), the validity period and the serial number.

Automatic Renewal

How renewal works

After the first successful issuance, WinACME registers a Windows Scheduled Task that runs daily and checks all registered renewals. Any certificate within 55 days of expiry is renewed automatically by repeating the full ACME flow: domain validation, issuance, download and installation.

With DNS-01 manual validation, each renewal needs a new TXT record placed manually. For fully automated renewal, use one of these approaches:

  • HTTP-01 validation: WinACME places the challenge file automatically, with no DNS interaction.
  • acme-dns relay: WinACME updates the challenge record through the acme-dns API automatically.
  • DNS provider plugin: If your DNS provider has an API, WinACME plugins are available for many major providers to update challenge records automatically.

Verify the scheduled task

  1. Open Task Scheduler from the Windows Start menu.
  2. Go to Task Scheduler Library.
  3. Find the task named win-acme renew.
  4. Confirm the status shows Ready and a next run time is scheduled.

Renewal configuration in settings.json

The renewal schedule is controlled by these settings in settings.json:

"ScheduledTask": {
"RenewalDays": 55,
"RandomDelay": "04:00:00",
"StartBoundary": "09:00:00",
"ExecutionTimeLimit": "02:00:00"
}
  • RenewalDays: how many days before expiry the renewal is triggered.
  • RandomDelay: spreads renewal attempts across a time window to avoid simultaneous requests.
  • StartBoundary: the daily time the scheduled task runs.

Troubleshooting

IssueLikely CauseResolution
WinACME connects to Let's Encrypt instead of CERTInextsettings.json not saved before launchClose WinACME, check the file is saved with the correct URL, and relaunch as administrator.
EAB validation failedIncorrect Key ID or MAC KeyCopy both values again from the portal, with no trailing spaces or line breaks.
Authorization result: invalidDNS TXT record not found or not yet propagatedCheck the record was saved at your DNS provider, wait for propagation and retry.
Invalid path error for certificate storageThe specified folder does not existCreate the folder in File Explorer before entering the path in WinACME.
Certificate not trusted by browsersIntermediate chain not included in the server configurationInclude the chain.pem file alongside the certificate in your server's SSL configuration.
Scheduled task not createdWinACME not run as administratorAlways right-click wacs.exe and select Run as administrator.
MAC Key not acceptedKey copied with formatting issuesCopy the key directly from the portal View page and paste it without reformatting.

Quick Reference

ItemDetails
CERTInext ACME directory URLProduction (US): https://acme-us.certinext.io/v1/directory
Sandbox (US): https://sandbox-us-acme.certinext.io/v1/directory
Credential location in portalIntegrations → APIs → View
WinACME settings.json location<WinACME installation folder>\settings.json
Windows Scheduled Task namewin-acme renew (<your CERTInext URL>)
Certificate verification commandcertutil -dump "<path-to-cert>\<domain>-crt.pem"

Need Help?

Contact CERTInext Support at https://incommonsupport.certinext.io/. Include the --verbose log from the failing run and, if an order was placed, the order ID. Never send your MAC Key.