Skip to content

Use Content-Type: application/octet-stream for POST PKIOperation #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jessepeterson
Copy link
Member

SCEP-23 Appendix-F omits the inclusion of a Content-Type. However I know of at least one commercial SCEP server that depends on using a Content-Type and I believe Apple SCEP clients also set a Content-Type header. Open to discussion, of course.

@jessepeterson
Copy link
Member Author

jessepeterson commented Mar 4, 2021

PKIOperation (HTTP POST) request headers from a macOS 10.12 client:

Connection: close
Content-Length: 2278
Content-Transfer-Encoding: binary
Content-Type: application/octet-stream
User-Agent: mdmclient/960 CFNetwork/811.11 Darwin/16.7.0 (x86_64)

@groob groob merged commit 65831d3 into micromdm:master Mar 7, 2021
@jessepeterson jessepeterson deleted the octet-stream-pkioperation-post branch March 25, 2021 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants