-
Notifications
You must be signed in to change notification settings - Fork 503
Description
Steps to Reproduce
Create a SCEP provisioner (as per the example provisioner within the smallstep documentation) and then update, setting the following flags:
--include-root
--exclude-intermediate
The output of the provisioner is as below:
{
"type": "SCEP",
"name": "SCEP",
"forceCN": true,
"challenge": "*** REDACTED ***",
"includeRoot": true,
"excludeIntermediate": true,
"minimumPublicKeyLength": 2048,
"decrypterCertificate": "KioqIFJFREFDVEVEICoqKg==",
"decrypterKeyPEM": "KioqIFJFREFDVEVEICoqKg==",
"decrypterKey": "*** REDACTED ***",
"decrypterKeyPassword": "*** REDACTED ***",
"encryptionAlgorithmIdentifier": 2,
"options": {
"x509": {
},
"ssh": {
}
},
"claims": {
"minTLSCertDuration": "336h0m0s",
"maxTLSCertDuration": "2160h0m0s",
"defaultTLSCertDuration": "2160h0m0s",
"enableSSHCA": false,
"disableRenewal": false,
"allowRenewalAfterExpiry": false,
"disableSmallstepExtensions": false
}
}
With this configuration I would expect just the root CA cert to be returned.
Using a scep client under linux, get the CA cert,
./sscep getca -c test -u http://red.act.ed/scep/SCEP
This call will return both the root and intermediate certificate.
Your Environment
- OS - Docker container (Alpine Linux v3.20)
step-ca
Version - step-ca:0.28.1
Expected Behavior
Using a scep client under linux, get the CA cert,
./sscep getca -c test -u http://red.act.ed/scep/SCEP
This call will return both the root and intermediate certificate.
I would have expected this to return just the root CA
Actual Behavior
Two certificates are returned, the root and the intermediate.
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).