Skip to content
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

Debug log CA certs and hashes in scepclient #157

Merged
merged 5 commits into from
Mar 22, 2021

Conversation

jessepeterson
Copy link
Member

Threw this together in support of #156. It looks like this when logged:

ts=2021-03-19T23:30:47.620605Z level=info msg=dumpca idx=0 rdns="OU=SCEP CA,O=scep-ca,C=US" sha256=7b659515f1f2a9c1af5c32e51fcdbeb67adfd4679d7998d0f29c757316cd29b7

@jessepeterson
Copy link
Member Author

I wonder if this should just be unconditional..

@omorsi
Copy link
Contributor

omorsi commented Mar 22, 2021

WDYT if this message was logged if the -debug flag is set?

@jessepeterson jessepeterson changed the title dumpca switch to print CA certs and hashes Debug log CA certs and hashes in scepclient Mar 22, 2021
@jessepeterson jessepeterson merged commit f25b477 into micromdm:main Mar 22, 2021
@jessepeterson jessepeterson deleted the dumpca branch March 25, 2021 18:43
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