EST enrollment
EST (Enrollment over Secure Transport, RFC 7030) lets routers, switches, Linux hosts and scripts request and renew certificates from a Taranac Internal CA without handling P12 files by hand. A client sends a certificate signing request (CSR) and receives the signed certificate in the reply. The key never leaves the client.
Devices are configured with one URL, the EST gateway’s:
https://<taranac-address>:8445/.well-known/estThe device appends the operation to it itself. The gateway serves all of them:
| Step | Endpoint | The client proves itself with |
|---|---|---|
| CA certificates | GET /.well-known/est/cacerts | nothing |
| First enrollment | POST /.well-known/est/simpleenroll | a username and password (HTTP Basic) of a local Taranac account |
| Renewal | POST /.well-known/est/simplereenroll | its current certificate (mutual TLS), which this Taranac issued and still holds as active |
A certificate never obtains a first certificate, and a password never renews one. 8445 is
the default of EST_GATEWAY_PORT in .env.
- :8445 POST /simpleenroll username + password · local account issued
- :8445 POST /simplereenroll current certificate · issued here, still active renewed
- :8445 POST /simplereenroll revoked, expired or foreign certificate refused · logged
Devices that speak SCEP rather than EST enroll through the same gateway: see SCEP enrollment. The two protocols are configured separately, and neither reads the other’s settings.
Setting it up
Section titled “Setting it up”The EST card is on NAC → Settings → PKI Settings. Every field on it stays editable while EST is off, so configure the card first and switch EST on last. No device enrolls on the defaults in between.
- Have an Internal CA to issue from. Create one on NAC → Settings → PKI /
Certificates (see PKI & trust), or run one under your corporate root
(see Taranac under your corporate root). EST issues client
certificates (
clientAuth). - Pick the Issuing CA on the EST card, and set the validity, approval and networks (see Settings).
- Create the account that enrolls. First enrollment checks a local account’s password. People enroll as themselves. Network equipment usually shares one service account: add that account to Device accounts (see Device accounts).
- Give the device the CA chain. Click Copy full-chain CA next to the issuing CA and install the PEM on the device before its first enrollment.
- Open the gateway port from the devices to Taranac:
8445(TCP). See Ports and firewall. - Switch on Enable EST endpoint, then copy the Device enrollment URL with Copy URL and configure it on the device.
The device enrollment URL
Section titled “The device enrollment URL”Device enrollment URL on the EST card shows the URL to configure on devices,
https://<host>:<EST_GATEWAY_PORT>/.well-known/est, with a Copy URL button. The host is
taken, in this order, from:
- the host of Public base URL (on the same page, under Public endpoints), only the host: its scheme and port belong to the CRL server;
TARANAC_DOMAINin.env;- the first address in
TARANAC_NODE_IPSin.env.
With none of these set, the URL shows a placeholder and Copy URL is disabled. The line under the URL, marked ENV, says where the host and the port came from. Nothing is written into Public base URL.
The web HTTPS port (443) also accepts cacerts, csrattrs and the first enrollment, but
never renewal: the front end does not verify client certificates. A device configured with
https://<taranac-address>/.well-known/est enrolls and then fails its automatic renewal a year
later. Point every device at the gateway URL.
The EST Endpoint URLs card, shown while EST is on, lists the four paths a device appends to that URL. Configure only the URL itself.
Settings
Section titled “Settings”All on NAC → Settings → PKI Settings → EST Enrollment. Every field is editable whether EST is on or off. Approval group, Request lifetime and Approval link lifetime are editable while Require admin approval is on.
| Setting | Default | Description |
|---|---|---|
| Enable EST endpoint | off | Turns /.well-known/est/ on. While it is off, every EST endpoint refuses. |
| Issuing CA | — | The Internal CA that signs EST certificates and renewals. Copy full-chain CA sits next to it. |
| Certificate validity (days) | 365 | 1–3650. Cut to the issuing CA’s own expiry. |
| Require admin approval | off | Requests wait for a person instead of being issued at once. See Approvals. |
| Approval group | — | Who is emailed about a waiting request. Notification only. LDAP groups work here. |
| Request lifetime (days) | 30 | 1–365. How long an undecided request lives before it is marked expired. |
| Approval link lifetime (days) | 7 | 1–90. How long the one-time approve and reject links in the approval email stay usable. |
| Allowed networks for IP SANs | empty | CIDR list, one per line. Applies to certificates of Device accounts. Empty means no restriction. See below. |
| Allowed authentication methods | Enroll by password, renew by certificate | See What tls means. |
| Device accounts | none | The local accounts routers and switches enroll with. See Device accounts. |
| mTLS proxy secret | empty | Only for a TLS terminator of your own. Leave it empty for the bundled gateway. See The proxy key. |
| Device enrollment URL | — | Read-only, marked ENV. See above. |
| Networks devices may request certificates from | empty | CIDR list, one per line. Empty allows any address. See Who may request certificates. |
| Blocked addresses | — | Addresses the enrollment guard has blocked from EST, each with Unblock. |
The SCEP card below it has its own copy of the validity, approval and network settings. EST never reads them, and SCEP never reads these.
Copy full-chain CA
Section titled “Copy full-chain CA”Copy full-chain CA copies one PEM to the clipboard. It holds the issuing CA’s chain up to its root (for a CA signed by your corporate PKI, up to the corporate root; see what Taranac does with the chain), plus the CA that signs this node’s server certificates (the Taranac Infrastructure CA, which signs the EST gateway’s certificate). Each certificate appears once. This is what a device must trust before its first enrollment: the gateway’s server certificate and the CA that will sign the device’s own. The button works as soon as an issuing CA is selected, with EST still off, so the bundle can go onto devices in advance.
GET /.well-known/est/cacerts returns only the issuing CA’s chain, so it does not replace
this step for a device that checks the gateway’s certificate.
First enrollment: by password
Section titled “First enrollment: by password”/simpleenroll authenticates with HTTP Basic, checked the way the web login checks a
password:
- Local accounts only. A directory (LDAP/AD) account has no password in Taranac and is refused.
- A disabled account, a locked one and one outside its validity window are refused.
- A wrong password does not lock the account. Routers share one account, so a lockout would let anyone who reaches the gateway lock the whole fleet out. A wrong EST password is recorded as a failed login and counts against the source address instead (see the enrollment guard).
- A group that denies web-console access does not stop EST. An enrollment account does not need console access.
The web console keeps its own lockout: guessing a device account’s password at the console login still locks it, and EST then refuses it until it is unlocked. Put device accounts in a group with Web console access set to Deny. Such an account never reaches the console’s password check, so it cannot be locked there.
Before the password is checked, the request must pass these checks, in order: the source address is allowed and not blocked, EST is enabled, password enrollment is allowed, and the body is a valid CSR. A disabled EST therefore checks no passwords, and a request with a broken body fails the same way whatever the password.
A request that offers only a client certificate is refused as a method that is not allowed. When a request carries both a password and a certificate, the password authenticates and the certificate plays no part.
The endpoint allows 10 requests a minute per client address. Requests beyond that are
answered 429.
Renewal: by the current certificate
Section titled “Renewal: by the current certificate”/simplereenroll takes no password. The device presents the certificate it holds in the TLS
handshake on the EST gateway, and sends a new CSR. Renewal is granted only when all of these
hold:
- The chain verifies at the gateway against an enabled internal CA, and the certificate is within its validity dates.
- This Taranac issued exactly that certificate. It is compared as a whole, not by serial number alone. A certificate from a Trusted CA, an LDAP domain CA or your corporate PKI never renews here, though EAP-TLS may accept it.
- Taranac still holds it as
active. A revoked or expired certificate is refused. Revocation is decided here, by Taranac, not by a CRL at the gateway. - The CA that issued it can still issue: it and every CA above it are enabled, active and within their validity (see CA status and lifecycle).
- The CSR keeps the same subject. The order of the attributes does not matter, but a changed or added attribute is refused. Renewal renews an identity. It does not rename one.
The renewed certificate goes through the same issuance as a first one, under EST’s settings: the current Issuing CA, validity, allowed networks, and the approval queue when Require admin approval is on. It keeps the kind of the certificate it renews: a Device-account certificate renews as a device certificate, any other as a certificate in its holder’s name, whatever the Device accounts list holds today.
A renewal request without names keeps the certificate’s names. When the CSR carries no DNS names or IP addresses, the renewed certificate gets those of the certificate it renews (some clients, such as strongSwan, send only the subject when renewing). A CSR that names something gets its own names. Inherited IP addresses are checked against Allowed networks for IP SANs again.
Renewal across protocols. A certificate issued over SCEP renews over EST, and the reverse. The renewal follows the protocol it arrives by: an EST renewal is issued by EST’s CA under EST’s validity, approval and networks. With approval on SCEP only, a SCEP-issued device that renews over EST is not held for approval. Turn approval on for both protocols if every renewal must be reviewed.
Renewal does not revoke the certificate it replaces. The old one stays active until it
expires. Revoke it on the PKI page if it must stop working at once.
A device whose certificate has already expired or been revoked cannot renew. It enrolls again by password.
Renewal works only through the EST gateway. On 443 the front end removes every
client-certificate header before the request reaches the API, so /simplereenroll there is
always refused. The endpoint allows 30 requests a minute per client address.
What tls in the allowed methods means
Section titled “What tls in the allowed methods means”Allowed authentication methods decides which of the two steps is open. basic is first
enrollment by password; tls is renewal by certificate.
| Option | Setting value | Effect |
|---|---|---|
| Enroll by password, renew by certificate | basic,tls | Both steps. The default. |
| Enroll by password only (no renewal) | basic | /simplereenroll is refused. Devices enroll again by password. |
| Renew by certificate only (no new enrollments) | tls | /simpleenroll is refused. Devices that already hold a certificate keep renewing. |
The EST gateway
Section titled “The EST gateway”The est-gateway container is the listener that verifies client certificates. It runs on
every node, on host port 8445 (EST_GATEWAY_PORT, container port 8443), over IPv4 and
IPv6, and accepts TLS 1.2 and 1.3. It forwards only /.well-known/est/ and the SCEP paths to
the API on its own node and answers 404 to anything else. It always runs: while EST is off,
the API refuses what it forwards. The same container serves SCEP over plain HTTP on its own
port (see SCEP enrollment).
The gateway asks for a client certificate but does not require one, and one that does not
verify does not fail the connection. It reports its verdict (SUCCESS, FAILED:<reason> or
NONE) to the API, and only SUCCESS counts. Anything else is treated as no certificate:
the request can still enroll by password, and it never renews.
The gateway passes on the address that connected to it and ignores any X-Forwarded-For
the client sends. Rate limits, source networks, the enrollment guard and the Activity Log use
that address.
Its server certificate
Section titled “Its server certificate”The gateway presents its own certificate, est-gateway/server.crt with server.key, from
the node’s certificate volume (taranac_certs). It never presents the NAC (EAP) server
certificate, so changing what RADIUS shows to supplicants does not change what EST clients
must trust.
The generated certificate is signed by the node’s Taranac Infrastructure CA. Its
subject alternative names list the node’s addresses: TARANAC_NODE_IPS from .env, plus
TARANAC_DOMAIN and NODE_ADDRESS when set. Each time the api container starts, the
certificate is checked and reissued if it does not cover all of these addresses or expires
within 30 days. After the node’s address changes, edit TARANAC_NODE_IPS in .env and run
./taranac up -d. Until the certificate exists, the gateway starts with a temporary
self-signed one that clients will not trust.
Your own certificate. Replace the two files with a certificate from a CA your devices already trust, with every address devices use in its SANs and an unencrypted PEM key. The api container mounts the volume writable:
docker cp server.crt taranac-api:/opt/taranac/certs/est-gateway/server.crtdocker cp server.key taranac-api:/opt/taranac/certs/est-gateway/server.keyThe gateway checks its certificate, key and trust files every 30 seconds and reloads when one changes, with no restart. A new configuration that does not load cleanly (for example a certificate whose key has not arrived yet) is not applied: the running one stays, and the gateway tries again on the next check. A certificate you put in place is never replaced by the automatic reissue. Watch its expiry yourself.
What it trusts
Section titled “What it trusts”The gateway trusts only the enabled, active internal CAs. It does not use the EAP-TLS
bundle (ca_clients.pem), which also holds Trusted CAs and LDAP domain CAs. Their holders may
join the network, but this Taranac never issued them anything to renew.
It is given two files. The internal CAs themselves are what it advertises to clients when it asks for a certificate, and what a device picks its certificate by. The certificates they need above them to reach a self-signed root (a parent internal CA, the issuing chain of a CA signed by your corporate PKI) are trusted for verification but never advertised. Chains up to 16 certificates deep verify.
The gateway checks no CRL. A revoked certificate of ours still verifies at the gateway and
is then refused by Taranac (reenroll_cert_not_active). A certificate from your corporate PKI
that chains to the same root verifies too, and is refused as not one Taranac issued
(reenroll_cert_not_ours). This is why a corporate root, for which Taranac holds no CRL, does
not stop renewals.
The trust follows CA changes within 30 seconds on every node, the one you made the change on included, and only once the change is saved: a CA created, imported, disabled, deleted or given a new chain reaches every gateway in that interval. It is also written each time the api starts.
The proxy key and the mTLS proxy secret
Section titled “The proxy key and the mTLS proxy secret”The gateway tells the API what it verified in request headers, and proves those headers are
its own with a shared key, EST_PROXY_KEY in .env. The installer generates it and
./taranac update adds it when it is missing, so there is nothing to configure. With the key
empty, the API ignores the gateway’s headers and renewal does not work. The gateway logs a
warning at start in that case. The key may contain only A–Z a–z 0–9 . _ ~ + / = -, or the
gateway refuses to start.
mTLS proxy secret on PKI Settings is only for a TLS terminator of your own that verifies
client certificates in place of the gateway. It must set X-SSL-Client-Verify (only
SUCCESS is believed), X-SSL-Client-S-DN, X-SSL-Client-Cert (the URL-encoded PEM
certificate) and X-Est-Proxy-Key (the secret). Client-certificate headers that arrive
without a valid key are ignored. Leaving the secret empty weakens nothing.
Device accounts
Section titled “Device accounts”The server always writes the certificate’s SAN. The requester never chooses it. EAP-TLS authorization reads the SAN, so a client that could pick it could take any other identity on the network. Which identity goes in depends on the account that enrolls.
Device accounts on the EST card lists the local accounts routers and switches enroll with. Add account opens a picker of local accounts; the cross on an entry removes it. Choosing accounts needs the Users view permission besides PKI edit rights.
| Account that enrolls | Subject | SAN | Stored as | Use it for |
|---|---|---|---|---|
| On the Device accounts list | The CSR’s subject, CN kept | The DNS names and IP addresses from the CSR. At least one is required. | device certificate (reassignable) | network equipment enrolling through a shared service account |
| Any other account | The CSR’s subject, with the CN replaced by the username | The username as a UPN, plus an email entry when the username contains @ | user certificate | people: the certificate is the person |
One instance serves both: people enroll in their own name, and only the listed accounts can have a certificate issued in a name of the device’s choosing.
- A renewal keeps the kind of the certificate it renews, whatever the list holds when it arrives.
- A request waiting for approval is issued the way it was requested, even if the account was added to or removed from the list in the meantime.
- The list holds accounts, not names: renaming an account keeps it on the list. A deleted account drops off. Only local accounts can be added, because only they can enroll.
- A name or address the CSR repeats appears once in the certificate. DNS names are copied as the device wrote them and are not validated.
The hint on the card recommends putting these accounts in a group with Web console access set to Deny: a device account never needs the console, and password guessing there would lock it.
Allowed networks for IP SANs
Section titled “Allowed networks for IP SANs”For a Device account the IP addresses in the certificate come from the device’s own request, so the account could otherwise get a certificate naming any address. Fill in Allowed networks for IP SANs (CIDR, IPv4 or IPv6, one per line) to limit them:
- A request with an IP SAN outside every listed network is refused with a message naming the address, and the refusal is recorded in the Activity Log.
- DNS names are not restricted.
- An approval checks the list again when it is decided, since the list may have changed while the request waited.
- Empty means no restriction. Certificates in an account’s own name ignore the list: there the server writes the SAN itself and puts no IP address in it.
Who may request certificates
Section titled “Who may request certificates”Source networks
Section titled “Source networks”Networks devices may request certificates from (CIDR, one per line) limits where EST
requests may come from. Empty, the default, allows any address. When it is set, an EST request
from any other address is refused with 403 before anything else is checked, its password
included. That covers cacerts and csrattrs too: their only client is a device about to
enroll. Fill in your management networks.
SCEP has its own list on its own card. Limiting one protocol does not limit the other.
The enrollment guard
Section titled “The enrollment guard”Five wrong EST passwords from one address within 15 minutes block that address from EST for
15 minutes. Every failed first enrollment counts: a wrong password, an unknown, locked or
expired account. A malformed Authorization header and a failed renewal do not count. A
blocked address gets 403 on simpleenroll and simplereenroll before anything is checked;
cacerts and csrattrs still answer, since they hold no secret.
- EST only. Wrong SCEP challenges count separately and block only SCEP. An address blocked at one protocol still enrolls over the other.
- IPv6 by /64. An IPv6 source is counted, blocked, listed and unblocked by its /64, so walking through the addresses of one /64 does not escape the guard.
- Alert and Activity Log. Each block raises a warning alert (Certificate enrollment
blocked for <address> (EST)) and writes an Activity Log entry
(
NAC_PKI_ENROLLMENT_SOURCE_BLOCKED) naming the account last tried. - Unblock. Blocked addresses on the EST card lists each blocked address with the
account and the time the block ends. Unblock lifts it at once
(
NAC_PKI_ENROLLMENT_SOURCE_UNBLOCKED). Fix the device’s password first.
The guard is counted in the database, so it holds across every node of a cluster and across restarts. The thresholds are fixed.
Approvals
Section titled “Approvals”With Require admin approval on, an enrollment produces a request, not a certificate.
This applies to renewals too. The client gets 202 Accepted with Retry-After: 30 and sends
the same CSR again, as RFC 7030 §4.2.3 describes. A request is identified by the SHA-256 of
its DER CSR and its protocol, so a device that waits overnight leaves one row, not thousands.
The same CSR sent over EST and over SCEP is two requests, each decided on its own.
| What the next poll finds | What the client gets |
|---|---|
pending | 202: keep waiting |
approved | 200 with the certificate the approval issued |
rejected | 403, so the client stops instead of polling forever |
expired | the request goes back to pending: a client still asking revives its own request |
A renewal with an unchanged key is a new request. A device that keeps its key sends the same CSR every time it renews. A request answers only the renewal of the certificate it was made for, so the next renewal, presenting the newer certificate, reopens the row as a new pending request, whatever its earlier decision. A device is not refused today because an earlier enrollment with the same key was rejected.
The queue, Enrollment requests, sits on the PKI page below the issued certificates. It holds EST and SCEP requests and is hidden until a request has been queued over either protocol. It is paged, with waiting requests first and then the newest. The Protocol and Status filters (Waiting, Approved, Rejected, Expired) narrow it. Each row shows the subject, the protocol, who requested it, from which address and when.
Deciding takes PKI edit rights (nac_pki.edit), not membership of the approval group.
The group is only a notification channel: each member with an email address gets an EST
enrollment awaiting approval mail saying what is being requested, by whom and from where, with
a one-time link of their own, valid for the Approval link lifetime (7 days by
default). A decision is therefore attributed to a person, not to whoever held the link. No
group means nobody is emailed, not that nothing is checked.
Opening a link decides nothing. Mail scanners and link previews open URLs on their own, so the link only shows the request on a page titled Certificate enrollment request, with its Protocol, and the decision needs a button. A decision, by link or on the PKI page, spends every outstanding link for that request. A link stops working when its recipient’s account is disabled or deleted.
Approval puts a person in front of issuance and skips nothing. An approved request is signed
through the same path an automatic enrollment takes, from the CA it was made against, with the
kind of certificate it was requested as, the same server-written SAN and the same allowed
networks. If that CA can no longer issue, the approval is refused with the reason. Undecided
requests older than the Request lifetime are marked expired by the daily maintenance
run (03:30).
Leave Require admin approval off for pilots and labs. Turn it on in production so a person reviews each request before a certificate is signed.
Refused enrollments in the Activity Log
Section titled “Refused enrollments in the Activity Log”Every EST outcome is recorded as one audit event type, NAC_PKI_EST_ENROLLMENT, so one
filter in the Activity Log shows the whole flow: issued, queued for approval, approved,
rejected and refused. Like every audit event, it is forwarded to the syslog destinations
bound to the audit stream (see Audit & syslog). SCEP writes
its own type, NAC_PKI_SCEP_ENROLLMENT, with the same shape.
A refused request carries outcome: refused and a reason, plus the client’s address and
User-Agent, the endpoint, the gateway’s certificate verdict (for example NONE or
FAILED:certificate has expired) and the presented certificate’s serial and subject. EST
clients retry, and each refused request writes its own row.
reason | What happened |
|---|---|
source_network_not_allowed | The address is outside Networks devices may request certificates from |
source_blocked | The address is blocked by the enrollment guard |
est_disabled | EST is switched off |
est_ca_not_configured | No issuing CA is selected |
ca_disabled, ca_expired, ca_revoked, ca_parent_unusable, ca_not_found | The issuing CA cannot issue; the text names the CA (see CA status and lifecycle) |
auth_method_not_allowed | The step is not allowed by Allowed authentication methods, or a first enrollment offered only a certificate |
csr_missing / csr_invalid | Empty body, or not a readable CSR with a valid signature |
basic_auth_malformed | The Authorization header is not valid HTTP Basic |
csr_identity_invalid | The identity cannot be built, for example a Device-account CSR with no DNS name or IP address |
ip_san_outside_allowed_networks | An IP SAN is outside Allowed networks for IP SANs |
reenroll_no_valid_client_cert | Renewal without a certificate the gateway verified: none, expired, from a CA the gateway does not trust, or sent through 443 |
reenroll_cert_not_ours | The certificate is not one this Taranac issued |
reenroll_cert_not_active | Taranac holds the certificate as revoked or expired |
reenroll_ca_not_usable | The CA that issued the presented certificate cannot issue any more |
reenroll_subject_mismatch | The CSR’s subject differs from the certificate’s |
approval_rejected | The request was rejected, and the client polled again |
A wrong EST password is not an EST row. It is a failed login (USER_LOGIN_FAILED) marked
via: est, next to the console’s own failed logins. The first request without any
Authorization header is the normal challenge round trip and writes nothing.
Client compatibility
Section titled “Client compatibility”- Basic challenge. A refused
/simpleenrollanswers401withWWW-Authenticate: Basic realm="EST", so clients that send credentials only after a challenge (curl, libest and most embedded clients) enroll./simplereenrollsends no challenge: a password does not help there. - Header names in canonical case. Response headers go out as
WWW-Authenticate,Content-Transfer-EncodingandRetry-After. Cisco IOS-XR 25.4.2 matches header names case-sensitively and enrolls only with them. - Base64 in 64-character lines. Certificates and CA chains are sent as base64 wrapped at
64 columns, which line-oriented clients such as Cisco IOS-XR need. Responses use
application/pkcs7-mime; smime-type=certs-onlywithContent-Transfer-Encoding: base64. - Each response header once. Strict clients reject a header that arrives twice.
- The request body is the base64 DER CSR (
application/pkcs10), at most 64 KB. - CSR attributes in any order. A CSR whose attributes are not in canonical DER order (as
strongSwan’s
pkiwrites them) is accepted after its signature is checked. - Cisco IOS-XE without a certificate of ours answers the gateway’s certificate request
with its own self-signed, often expired, HTTPS certificate, even for
/cacerts. The gateway treats that as no certificate, so the router enrolls by password like any other client. Such a certificate never renews. - Cisco IOS-XE names.
subject-alt-nameon the trustpoint writes every entry as a DNS name (subject-alt-name DNS:x, IP:yarrives as the DNS namesDNS:xandIP:y), and the trustpoint’sip-addressgoes into the subject, not the SAN. Such a certificate carries no IP SAN for Allowed networks for IP SANs to check. - TLS 1.2 and 1.3 are accepted on the gateway.
Ports and firewall
Section titled “Ports and firewall”Open these from the devices to every Taranac node they enroll with:
| Port | Proto | Serves | Variable |
|---|---|---|---|
8445 | TCP | All four EST operations, and SCEP over HTTPS. The device enrollment URL. | EST_GATEWAY_PORT |
443 | TCP | cacerts, csrattrs, simpleenroll (password). Never renewal. | EDGE_HTTPS_PORT |
8446 | TCP | SCEP over plain HTTP (SCEP paths only, never EST). See SCEP enrollment. | SCEP_HTTP_PORT |
To move the gateway, set EST_GATEWAY_PORT in .env and run ./taranac up -d. The device
enrollment URL on PKI Settings follows. Avoid ports other services on the node use: 8443
(MFA), 8444 (captive portal) and 9443 (opened by ./taranac cluster add-node /
add-witness for a join).
Published container ports are not filtered by the host’s ufw INPUT rules, for IPv4 or IPv6.
To limit who reaches 8445 and 8446 at the host, filter them in the DOCKER-USER chain,
or use Networks devices may request certificates from.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Fix |
|---|---|---|
The device stops at the first 401 on /simpleenroll | The account is wrong, locked, disabled, outside its validity window, or a directory account | Check the account under Users and the USER_LOGIN_FAILED rows marked via: est. Use a local account. |
403 on every request from one device, password unchanged | The address is outside Networks devices may request certificates from, or the enrollment guard blocked it | Check the reason (source_network_not_allowed or source_blocked) in the Activity Log. Extend the list, or fix the password and click Unblock. |
| The certificate carries the account’s name instead of the device’s | The account is not on Device accounts | Add it, then enroll again. A renewal keeps the kind it renews. |
422 on every request | EST is off, no issuing CA is selected, the CA cannot issue, or the CSR is unreadable | Check the reason in the Activity Log. |
| The device does not trust the server on 8445 | It lacks the Infrastructure CA, or the address it uses is not in the gateway certificate | Install the bundle from Copy full-chain CA. Check TARANAC_NODE_IPS and run ./taranac up -d, or put in your own certificate with the right SANs. |
Enrollment worked, renewal fails with reenroll_no_valid_client_cert | The device is configured with port 443; the certificate has expired or comes from another CA; or EST_PROXY_KEY is empty | Configure the device enrollment URL on port 8445. An expired certificate enrolls again by password. Check that .env has EST_PROXY_KEY and the gateway logged no warning. |
Renewal refused with reenroll_cert_not_active | The certificate was revoked | Enroll again by password. |
Renewal refused with reenroll_cert_not_ours or reenroll_subject_mismatch | The certificate was not issued by this Taranac, or the new CSR changes the subject | Enroll by password. Keep the subject unchanged when renewing. |
ip_san_outside_allowed_networks | A Device-account CSR names an address outside the list | Correct the device’s address or extend Allowed networks for IP SANs. |
The client polls with 202 forever | Require admin approval is on and nobody decided | Decide the request on the PKI page. Set an Approval group so someone is emailed. |
| Cisco IOS-XR fails with “HTTP Error: Authentication Failed” | A proxy of your own in front of the gateway lowercases header names | Pass WWW-Authenticate through unchanged, or point the router at the gateway directly. |
429 | More than 10 enrollments or 30 renewals a minute from one address | Space the retries out. Many devices behind one NAT address share the limit. |
API endpoints
Section titled “API endpoints”The EST endpoints sit outside /api/v1, at the RFC 7030 well-known path, and answer only
while Enable EST endpoint is on.
| Endpoint | Authentication | Returns |
|---|---|---|
GET /.well-known/est/cacerts | none | The issuing CA’s chain up to its root, as PKCS#7 |
POST /.well-known/est/simpleenroll | HTTP Basic, local account | The issued certificate as PKCS#7, or 202 with Retry-After while a request awaits approval |
POST /.well-known/est/simplereenroll | the current client certificate, through the EST gateway | The renewed certificate as PKCS#7, or 202 as above |
GET /.well-known/est/csrattrs | none | The attributes a CSR should carry |
For the console and automation:
| Endpoint | Permission | Purpose |
|---|---|---|
GET /api/v1/nac/pki/settings/est-trust-bundle | nac_pki.view | The PEM that Copy full-chain CA copies |
GET /api/v1/nac/pki/est-requests | nac_pki.view | The approval queue of both protocols: waiting first, then newest. Filters status, protocol (est, scep); sort_by, sort_order; page, per_page. Oldest first: sort_by=created_at&sort_order=asc. An empty result has pages: 0. |
POST /api/v1/nac/pki/est-requests/{id}/approve · …/reject | nac_pki.edit | Decide a request |
GET /api/v1/nac/pki/settings/enrollment-blocks?protocol=est | nac_pki.view | The addresses the enrollment guard has blocked |
DELETE /api/v1/nac/pki/settings/enrollment-blocks/{protocol}/{ip} | nac_pki.edit | Unblock |
EST or SCEP
Section titled “EST or SCEP”EST and SCEP serve network equipment, and Taranac runs both on the same gateway. Use EST where the device speaks it: it runs over HTTPS, a first certificate is obtained with an account’s password and a renewal with the certificate itself, over mutual TLS. Use SCEP for equipment that speaks only SCEP, such as classic Cisco IOS and MikroTik RouterOS. A device can move from one to the other and keep renewing its certificate.
Laptops and phones are served by neither here: issue their certificates on the PKI page, send a one-time download link, or sign a CSR the user made (see PKI & trust).
Related
Section titled “Related”- SCEP enrollment: the same gateway for devices that speak SCEP.
- PKI & trust: Internal CAs, revocation and CRLs, and the certificates EST issues.
- Taranac under your corporate root: an issuing CA signed by your corporate PKI, and the chain EST hands out.
- 802.1X authentication: how an EAP-TLS certificate becomes an identity.
- TACACS+ over TLS: devices that log in with a certificate enrolled over EST.
- Audit & syslog: the Activity Log and forwarding it to a SIEM.