GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — failed to initialize the client-side SSL context · Issue #8101 · netty/netty

failed to initialize the client-side SSL context #8101

New issue
Copy link
New issue
Copy link
Closed
Closed
failed to initialize the client-side SSL context#8101
Copy link

Description

@liuhedev
liuhedev
opened on Jul 5, 2018
Issue body actions

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

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();

Minimal yet complete reproducer code (or URL to code)

Netty version

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')

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

Activity

  1. normanmaurer commented on Jul 7, 2018

    @normanmaurer
    normanmaurer
    on Jul 7, 2018
    Member
    More actions

    you should remove netty-tcnative-2.0.7.Final-linux-x86_64.jar from your class path... Also please include all the stack traces.

  2. liuhedev commented on Jul 9, 2018

    @liuhedev
    liuhedev
    on Jul 9, 2018
    Author
    More actions

    use netty4.1.25 reslove my crash problems.

  3. liuhedev
    closed this as completedon Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.