Skip to content

Support mutual TLS using a certificate from a Windows cert store #408

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
merged 8 commits into from
Mar 24, 2022
Merged

Conversation

graebm
Copy link
Contributor

@graebm graebm commented Mar 24, 2022

Add the ability to use a client certificate located in a Windows certificate store. Previously, the client certificate and private key had to be passed by filepath or file contents. With this change, certificates and keys stored on TPM devices can be used.

Add new windows_cert_pub_sub sample to show this in action.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

graebm and others added 6 commits March 14, 2022 15:16
Now command line parsing is broken down into a shared module so
it can be reused across samples. This makes samples smaller and
reduces bloat.

Commit log:
* Initial work on simplifying command line parsing
* Continued work on simplifying command line parsing
* Reformatted samples with, hopefully, the correct clang format setting this times
* Another attempt at fixing clang format issues
* Adjustments to CommandLineUtils and samples to allow building on Windows and Linux
* Adjusted secure_tunnel sample to use AWS String instead of std string
* Remove commented out namespace usage in secure_tunnel sample
* Adjusted samples command line parser to show input type for commands
* Minor command line parsing format fixes
* Adjusted based on review feedback
* Minor formatting fix
* Removed const in main function in samples
* Clang format fixes
* Added additional command groups
* Renamed AddCommonX509Commands utility function
@graebm graebm merged commit 581a92e into main Mar 24, 2022
@graebm graebm deleted the tpm2 branch March 24, 2022 23:14
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.

3 participants