Coming Soon: Binary signing errors and solutions for GitLab CI/CD
The following errors may occur during Binary signing for GitLab CI/CD.
Certificate not found
Error message
No .p12 certificate found in .secure_files
Solution
Verify certificate is uploaded to Settings > CI/CD > Secure Files.
Ensure file has
.p12extension.Alternatively, set
SM_CLIENT_CERT_FILEvariable with the path.
SMCTL not found
Error message
smctl not found in PATH
Solution
Change
CACHE_VERSIONvariable to force re-download.Check runner has internet access to DigiCert CDN.
Verify runner OS is supported (Linux, macOS, and Windows)
PKCS#11 Library Missing
Error message
PKCS#11 library not found
Solution
Use
traditional-signingt emplate (not.simple-signing).Ensure smtools are downloaded correctly
Check runner has sufficient permissions to install tools
Signing Failed - Invalid Credentials
Error message
Signing failed with authentication error
Solution
Verify
SM_HOST, SM_API_KEYandSM_CLIENT_CERT_PASSWORDare correct.Check certificate is not expired.
Ensure API key has signing permissions.
Verify
KEYPAIR_ALIASexists in your DigiCert account.
Runner Out of Space
Error message
Runner fails with disk space issues
Solution
Clear GitLab runner cache.
Adjust artifact expiration times.
Use
CACHE_VERSIONto manage tool caching.