MID Server private-key JWT/iPKI authentication: Authentication flow, certificate lifecycle, and authorization scope compared with Basic AuthenticationIssue When migrating a MID Server from Basic Authentication to private-key JWT/iPKI authentication, customers may need clarification about: How the MID Server authenticates to the ServiceNow instance.How private-key JWT differs from Basic Authentication.Whether private-key JWT changes the MID Server's instance permissions or ACL access.How the MID Server certificate and private key are used.How certificate/key rotation relates to MID Server rekeying. The important distinction is that private-key JWT/iPKI changes the mechanism used to authenticate the MID Server, but does not change its resulting authorization scope after successful authentication. Release All Relaeses Cause With Basic Authentication, MID Server authentication is associated with a ServiceNow user account. With private-key JWT/iPKI, authentication is based on the MID Server's machine identity. During registration, the MID Server generates a private key and certificate signing request. Instance PKI issues a certificate associated with that MID Server, and subsequent authentication uses JWTs signed by the MID Server's private key. Therefore, authentication and authorization should be considered separately: Authentication Determines how the MID Server proves its identity to the instance. Examples include: Basic Authenticationprivate-key JWT/iPKImTLS Authorization Determines what an authenticated MID Server is permitted to do in the instance, including the applicable ACL behavior. The internal technical review performed for the case confirmed that private-key JWT/iPKI, Basic Authentication, and mTLS are different authentication mechanisms, but once the MID Server has successfully authenticated, the resulting authorization scope is identical from an ACL perspective. Resolution 1. Initial registration For private-key JWT authentication, a registration token is used to establish the initial trust relationship between the MID Server and the ServiceNow instance. After registration, authentication transitions to JWT-based authentication using the MID Server's private key and its associated certificate. 2. Ongoing authentication The MID Server signs a JWT using its private key and presents it to the instance. The instance validates the signed JWT against the certificate mapped to the MID Server. This establishes the MID Server's machine identity without requiring normal Basic Authentication through a sys_user account for subsequent authentication. 3. Authorization and ACL access Switching from Basic Authentication to private-key JWT/iPKI does not provide additional or unrestricted instance access. The authentication mechanism changes, but the resulting authorization scope and ACL behavior do not change. The same principle applies when comparing Basic Authentication, private-key JWT/iPKI, and mTLS. The internal technical conclusion: iPKI, Basic Authentication, and mTLS differ in how the MID Server is authenticated. Once authenticated, the resulting authorization scope is identical from the ACL perspective. 4. Certificate/key lifecycle The JWT itself and the certificate/private-key pair should not be confused with the MID Server's separate rekey operation. For private-key JWT authentication: The MID Server establishes its machine identity.A private key and certificate are associated with that identity.The MID Server uses the private key to sign JWTs.The instance verifies those JWTs using the certificate associated with the MID Server. We can see automatic certificate rotation on a 45-day lifecycle for the private-key JWT/iPKI mechanism. This should be described specifically as certificate rotation, rather than saying that the JWT itself lasts for 45 days. The JWT used during authentication is short-lived. 5. MID Server temporarily offline Do not assume that an offline MID Server requires reinstallation simply because a key/certificate lifecycle event occurs. For the separate MID Server rekey workflow discussed in the case, when the MID Server returns online, the new key is validated before MID Server processing resumes. Important distinction ComponentPurposeRegistration tokenEstablishes initial trust during registrationPrivate keyAllows the MID Server to cryptographically sign authentication JWTsMID Server certificateAllows the instance to validate the MID Server identity/signatureJWTShort-lived authentication assertionACL/authorization scopeControls what the authenticated MID Server can accessMID Server rekeySeparate key-management operation and should not be treated as synonymous with JWT/certificate rotation