Skip to content

component=scep_service method=PKIOperation err="invalid data len 0" #155

Description

@xndr

I use an Apple configuration profile to set the SCEP and 802.1X configuration on Mac computers, and this particular configuration template runs fine on macOS 10.13 through 10.15, however, on an older system, which accepts the config profile just fine, it causes an error / rejection on the MicroMDM/SCEP server (but with the same config template, is able to obtain a SCEP certificate from a different SCEP server. The operating system is still supported and supports TLS 1.2.

I've included a screenshot of the configuration template for the SCEP client.

SCEP-settings

Error in the scepserver logs:

level=info ts=2021-03-18T16:09:24.195342904Z caller=logutil.go:70 component=http method=GET status=200 proto=HTTP/1.1 host=192.168.1.6 user_agent="mdmclient/863 CFNetwork/760.9 Darwin/15.6.0 (x86_64)" path="/scep?operation=GetCACaps&message="
level=info ts=2021-03-18T16:09:24.199474783Z caller=service_logging.go:34 component=scep_service method=GetCACert err=null took=1.332µs
level=info ts=2021-03-18T16:09:24.199560295Z caller=endpoint.go:186 op=GetCACert error=null took=137.313µs
level=info ts=2021-03-18T16:09:24.199623083Z caller=logutil.go:70 component=http method=GET status=200 proto=HTTP/1.1 host=192.168.1.6 user_agent="mdmclient/863 CFNetwork/760.9 Darwin/15.6.0 (x86_64)" path="/scep?operation=GetCACert&message="
level=info ts=2021-03-18T16:09:35.135787804Z caller=service_logging.go:46 component=scep_service method=PKIOperation err="invalid data len 0" took=22.040839ms
level=info ts=2021-03-18T16:09:35.13597859Z caller=endpoint.go:186 op=PKIOperation error=null took=22.233309ms
level=info ts=2021-03-18T16:09:35.136059909Z caller=logutil.go:70 component=http method=POST status=500 proto=HTTP/1.1 host=192.168.1.6 user_agent="mdmclient/863 CFNetwork/760.9 Darwin/15.6.0 (x86_64)" path="/scep?operation=PKIOperation"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions