title: Can netty establish a connect connection with an https link?
body: <p>I want to complete a function with netty</p>
  
  <p>http send data to netty -> netty proxy data to target https </p>
  
  <p>I start a client to connet target link.</p>
  
  <p>I tried proxy to http ,it's ok</p>
  
  <p>But when i use https link , future.isSuccess() return false </p>
  
  <pre><code> public void channelRead(ChannelHandlerContext ctx, Object msg) {
          if (msg instanceof FullHttpRequest) {
              FullHttpRequest request = (FullHttpRequest) msg;
              Bootstrap b = new Bootstrap();
              b.group(ctx.channel().eventLoop())
                      .channel(ctx.channel().getClass())
                      .handler(new HttpProxyInitializer(ctx.channel()));
              ChannelFuture f = b.connect("https://xxxx",443);
              outboundChannel = f.channel();
              f.addListener(new ChannelFutureListener() {
                  @Override
                  public void operationComplete(ChannelFuture future) {
                      if (future.isSuccess()) {
                          future.channel().writeAndFlush(msg);
                      } else {
                          ctx.channel().close();
                      }
                  }
              });
          }
      }
  </code></pre>
  
  <p>So is netty connet https not feasible?</p>