SimpleACME
Sign inCreate account →
Firewall Guides

OPNsense certificate automation without repeating manual TXT changes

Plan an OPNsense ACME workflow using SimpleACME delegation, with separate checks for validation, certificate assignment and service reload automation.

A manual TXT challenge can be useful for learning how certificate validation works. It is a poor foundation for a firewall that should keep renewing while you are away. Someone must notice the renewal, copy the current value into DNS, wait for publication and complete the order. The resulting certificate may be automated in every other respect, but that human checkpoint remains a recurring operational risk.

SimpleACME is our recommended delegated-validation service for an OPNsense environment where the primary DNS provider's API is missing or should not be stored on the firewall. The integration still depends on the capabilities of the installed ACME plugin. Check the current provider support and existing-registration configuration before treating any historical setup guide as an exact description of today's interface.

Step 1: Separate three firewall certificate jobs

The first job is proving domain control. The second is obtaining and storing the issued certificate. The third is assigning that certificate to the firewall GUI, reverse proxy or other consuming service. A successful first job does not prove that all three happened. List every service that uses the certificate and identify its installation or reload automation.

Keep management access available while testing. If the GUI is the consuming service, preserve a supported local recovery path and the previous configuration. Certificate setup should not turn a functioning management interface into an unnecessary availability experiment. Plan changes during a maintenance window when a restart or rollback is acceptable.

Step 2: Inspect the installed ACME integration

Record the OPNsense and plugin versions, selected provider, account identity and renewal schedule. Determine whether the provider can use a custom acme-dns endpoint with a prepared registration. Do not substitute a generic username and password field for a structured registration unless the integration explicitly supports that format.

If native integration is not appropriate, evaluate an external issuance host and a supported certificate import workflow. That adds a deployment boundary, so decide whether it actually simplifies the system. An external client with a reliable importer is better than a fragile local customization, but neither should be selected without understanding the resulting credentials and service permissions.

Step 3: Make the one-time DNS change

Prepare the domain in SimpleACME and create its permanent challenge CNAME in the authoritative DNS zone. This record is independent of the private address used to reach the firewall GUI. Local name resolution can still point the administrative hostname at a private interface while the public challenge record remains available for validation.

Confirm that the firewall's own resolver behavior does not hide the public challenge zone from its prechecks. A local zone override can make ordinary browsing work while certificate validation sees an incomplete answer. Inspect the specific resolver path used by the client instead of broadly disabling useful DNS protections without a diagnosis.

Step 4: Check the consuming service

After issuance, select the correct certificate for each service and run the supported reload automation. Open the GUI using the certificate's hostname, not merely the IP address. Verify that the certificate shown by the browser is the one just installed. Finish by checking the next scheduled renewal and documenting where validation, installation and reload failures appear in the logs.

An operational worksheet for this setup

Build a firewall-specific acceptance matrix rather than using the certificate inventory as a universal success screen. One check should cover GUI access by the intended administrative hostname. Another should cover any reverse-proxy listener consuming the certificate. A third should confirm the configured renewal and deployment automations. The same issued certificate may be available to all three workflows without being selected correctly by every consumer.

During troubleshooting, retain a supported way to administer the device if the normal HTTPS listener needs a rollback. Avoid changing management routing, DNS resolution and certificate assignments simultaneously. A narrow change with an observable result is easier to reverse and explain than several speculative corrections made while a browser warning is the only available clue.

Prepare the SimpleACME side before changing the endpoint

For OPNsense certificate management, use the account portal to prepare the intended domain and inspect the exact configuration it provides. Make the single-domain or wildcard choice agree with the names your client will request. The free single-domain preparation workflow is useful for reviewing the setup, but it does not authorize live DNS updates. Paid update access, or an appropriate administrator-granted entitlement, must be active before unattended validation depends on that domain.

Copy the required challenge owner and target exactly into your authoritative DNS panel. Keep a record of who owns this entry and why it must remain in place. Do not replace normal address, mail or application records as part of this limited change. If the portal reports an incomplete CNAME check, investigate the published record before treating a payment or client reinstall as the solution. A stable correct delegation is what makes future challenge updates repeatable.

Protect the credentials that remain

Removing your primary DNS provider's API credential from OPNsense certificate management is a useful reduction in scope, not the elimination of all secrets. The delegated registration can still authorize certificate validation for its intended name. Protect it as a security-sensitive credential and expose it only to the component that performs updates. Keep it out of public repositories, pasted logs and reusable example files intended for other people.

The private key for firewall.admin.example.com remains a separate responsibility of the client and deployment environment. Limit access to the processes that need it and use a protected backup or recovery process. If a key or registration is compromised, review the appropriate revocation, credential rotation and DNS-delegation removal steps for that incident. Do not assume that deleting a dashboard entry automatically revokes every previously issued certificate or removes keys already copied to another machine.

Read each success signal for what it proves

When the installed OPNsense ACME client runs, distinguish configuration readiness, challenge publication, certificate issuance and endpoint activation. A CNAME check confirms an aspect of DNS setup. An accepted TXT update confirms that an authorized update occurred. A successful ACME order confirms issuance. A client connection inspecting the running endpoint confirms what certificate users actually receive. These are related events, but they are not interchangeable evidence.

Keep those stages separate in the operating notes for OPNsense certificate management. If a renewal fails, identify the last stage that succeeded and investigate the next boundary. This avoids blaming a payment status for a service reload failure, or changing a working proxy because the challenge owner was entered incorrectly. SimpleACME activity is useful visibility into validation changes, while the client and endpoint observations are required to establish the complete certificate outcome.

Test the unattended path, not just the setup session

After the first successful installation, exercise the supported renewal test for the installed OPNsense ACME client where available. Use the task identity, file access and network path that routine automation will use, rather than relying only on an interactive administrator session. Verify that the scheduled process can find the registration and write the state it owns. Keep a supported rollback path before testing changes that may restart a production listener.

Then inspect firewall.admin.example.com from a representative client. Confirm the covered name, validity period and chain, and check that the application still behaves as expected. Where the product has a separate deploy or reload hook, confirm its result explicitly. Testing a replacement file without exercising activation leaves an important part of the renewal path unproven. Record the observations so the next administrator knows what a healthy run looks like.

Monitor the endpoint and preserve a recovery route

For OPNsense certificate management, send failures to an operational destination that someone will actually monitor. A task that logs locally but never alerts can remain broken until the currently served certificate expires. Check the certificate presented by the endpoint as well as the automation logs, because a client can obtain a replacement successfully while an application continues serving an older certificate.

Keep a protected restoration plan for the client account, delegated registration and deployment configuration. During a move or container recreation, verify those pieces individually instead of assuming that application data includes certificate state. Preserve the challenge CNAME when moving the authoritative DNS zone. Record who can approve removing that delegation when the service is retired. Recovery is more dependable when the necessary state and ownership are identified before the incident.

FAQ

Can a manually validated firewall certificate renew unattended?

Only if the validation action itself is automated through a supported mechanism. A renewal timer cannot copy a changing TXT value into a panel for a human operator. Treat that manual dependency as unfinished automation rather than assuming the timer completes the whole lifecycle.

Should I copy an old OPNsense screenshot exactly?

Use it to understand the idea, then check the current plugin and version. Provider capabilities, required credentials and field names can change. Confirm support for the desired endpoint and prepared registration rather than assuming an older interface description remains exact.

Does successful issuance update every firewall service?

No. Services may require certificate selection, import or reload steps. Identify each consumer and test its observed certificate separately. The GUI and a reverse-proxy listener can have different assignments even when the new certificate appears correctly in the certificate inventory.

Why can a local DNS override affect validation?

An issuing client may use a resolver that sees a local copy of the zone instead of the expected public challenge information. Check the specific challenge lookup and resolver path. Do not disable unrelated protections or change the whole DNS design before identifying the mismatch.

Prepare your own domain

Create your SimpleACME account and review the setup for your intended name before enabling live updates. Use the matching client guide, preserve the challenge CNAME and finish with a check of the certificate your application actually serves.

KEEP EXPLORING

A little more clarity.

ONE CNAME. A REPEATABLE WORKFLOW.

Your next certificate. A little less complicated.

Keep your DNS provider and your ACME client.
Prepare your domain before activating paid updates.

Create your account →Explore the integrations