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

Use TLS from Memory #1419

Closed
wants to merge 4 commits into from
Closed

Use TLS from Memory #1419

wants to merge 4 commits into from

Conversation

nh3000-org
Copy link

This PR adds using TLS from memory in addition to a file location. It provides a easier deployment for edge/iot devices from a single binary without the need to expose certificates on the file system.

The use case is to help deploying to a large number of clients using a single binary for initial setup.

Testing added to conn_test.go at TestClientCertificateMem to test server and client certificates. This tests both features being proposed.

Tested on Linux and Android.

@nh3000-org
Copy link
Author

Please remove this pr I see that the function is provided in TLSConfig. Thank You.

@nh3000-org nh3000-org closed this by deleting the head repository Sep 26, 2023
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.

None yet

1 participant