This guide configures Smallstep to issue client certificates for Palo Alto Networks GlobalProtect on Windows, macOS, and Linux. It then configures PAN-OS to authenticate GlobalProtect users with only those certificates.
The guide has three parts:
The GlobalProtect client reads certificates from the Windows certificate store. Windows has built-in support for hardware-bound keys. The Smallstep agent registers the TPM-bound key through a CNG key storage provider.
Important: on Windows, a hardware-attested credential goes into the machine certificate store. The agent puts the certificate in
LocalMachine\My, not in the user store. The TPM key uses the machine scope of the Microsoft Platform Crypto Provider. Look for the certificate in the machine store (certlm.msc), not in the user store (certmgr.msc). The GlobalProtect client searches the machine store by default. Refer to 4. Configure the portal.
The GlobalProtect client uses the CryptoTokenKit identity that the Smallstep agent manages.
The GlobalProtect client for Linux cannot use a hardware-attested key. The client accepts only a .p12 or .pfx file on the filesystem. The globalprotect import-certificate command imports that file. The client then keeps the key in software memory. Refer to the GlobalProtect documentation for Linux.
We examined the client binary for other key sources. It has none:
pkcs11, p11-kit, p11_, or PKCS#11 URIs (pkcs11:).ENGINESDIR path is fixed at build time. The OpenSSL engine functions are in the binary, because the full static library is linked. But the binary has no flag, configuration file, or environment variable that loads an engine. OpenSSL 3 providers do not apply to OpenSSL 1.1.nss, cert9.db, pkcs11.txt, or NSS_INIT. It does not link or load libnss3.The only client certificate source that the binary accepts is a .p12 or .pfx file. The binary parses the file with PKCS12_parse(), and the key is a software key.
Note: the official GlobalProtect client for Linux cannot use attestation. A PKCS#12 file contains the private key. A TPM key cannot be exported to a file. Therefore, a Smallstep credential for this client must use a software key without attestation. The Smallstep API does not accept
HARDWARE_ATTESTEDwith the PKCS#12 format. For the two Linux configuration options, refer to the Linux options section.