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

certificate stream for TLS missed after first communication #7053

Open
qingw1983 opened this issue Dec 25, 2020 · 0 comments
Open

certificate stream for TLS missed after first communication #7053

qingw1983 opened this issue Dec 25, 2020 · 0 comments

Comments

@qingw1983
Copy link

When do TLS communication, we need to load certificate, there are two ways to load certificate

  1. set certificate file path
  2. set certificate stream

due to security purpose, we ussually load certificate from stream with #2, the problem is: the stream will lost after first communication, that means need to set the stream before each call, can we keep the certificate stream in memory?

Class: SslConfig and related methods are:

 setClientKeyCertChainPathStream
 setClientPrivateKeyPathStream
 setClientTrustCertCollectionPathStream
 setServerKeyCertChainPathStream
setServerPrivateKeyPathStream
setServerTrustCertCollectionPathStream

Environment

  • Dubbo version: 2.7.6,2.7.7,2.7.8
  • Operating System version: macOS Catalina 10.15.6
  • Java version: 1.8
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

No branches or pull requests

1 participant