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

AutoMTLS does not work with brokering from plugin to host. #109

Closed
azdagron opened this issue Apr 9, 2019 · 1 comment
Closed

AutoMTLS does not work with brokering from plugin to host. #109

azdagron opened this issue Apr 9, 2019 · 1 comment

Comments

@azdagron
Copy link

azdagron commented Apr 9, 2019

With AutoMTLS=true, brokered connections dialed from the plugin back to the host fail with transport: authentication handshake failed: x509: certificate is valid for localhost, not unused.

Additionally, brokering with AutoMTLS requires the use of broker.AcceptAndServe since the autogenerated TLS configuration is not exported and therefore cannot be used to set up a gRPC server to use with the listener returned from broker.Accept.

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 a pull request may close this issue.

2 participants