We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
07-05 10:10:53.396 17821-17821/com.example.administrator.testnetty E/MainActivity: failed to initialize the client-side SSL context
InputStream crt = SingUtilsKt.openAsset(this, "TBOX000012.crt"); InputStream pkcs = SingUtilsKt.openAsset(this, "TBOX000012.pkcs8.pem"); InputStream ca = SingUtilsKt.openAsset(this, "ca.cer"); SslContextBuilder.forClient() .sslProvider(SslProvider.JDK) .keyManager(crt, pkcs) .trustManager(ca) .clientAuth(ClientAuth.REQUIRE) .ciphers(cipher) .build();
implementation files('src/libs/netty-all-4.1.15.Final.jar') implementation files('src/libs/netty-tcnative-2.0.7.Final-linux-x86_64.jar')
java -version
openjdk version "1.8.0_171" OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11) OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
uname -a
Linux liuhe-linux 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
you should remove netty-tcnative-2.0.7.Final-linux-x86_64.jar from your class path... Also please include all the stack traces.
netty-tcnative-2.0.7.Final-linux-x86_64.jar
Sorry, something went wrong.
use netty4.1.25 reslove my crash problems.
No branches or pull requests
Expected behavior
Actual behavior
07-05 10:10:53.396 17821-17821/com.example.administrator.testnetty E/MainActivity: failed to initialize the client-side SSL context
Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
JVM version (e.g.
java -version
)openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
OS version (e.g.
uname -a
)Linux liuhe-linux 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: