FYI: I think this command should work to use 4LW commands on secure port:

(echo "srvr"; sleep 1) | openssl s_client -connect zkhost:1181 -cert
./cert.pem -key ./key.pem

Kind regards,
Mate

On Thu, Jul 23, 2020 at 12:35 AM Norbert Kalmar
<nkal...@cloudera.com.invalid> wrote:

> Hi Sankalp,
>
> How are you trying to access zk to run 4lw commands? AFAIK nc(telnet) does
> not support ssl.
> You need something that supports ssl, like openssl s_clien [1] (but I
> haven't actually tested this) or by invoking the java client.
> But as you use secure communication, I would recommend using adminserver,
> if you are on 3.5+ that is.
>
> Regards,
> Norbert
>
> [1]
>
> https://serverfault.com/questions/476068/can-netcat-talk-to-an-encrypted-port/476073
>
> On Wed, Jul 22, 2020 at 11:42 PM Sankalp Bhatia <sankalpbhati...@gmail.com
> >
> wrote:
>
> > Hi All,
> >
> > I am getting an exception while trying to ping the secureClientPort in my
> > zookeeper server.
> >
> > io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record:
> > 737461740a
> >
> > Do the 4 letter words not work with the secureClientPort? Can I tweak
> some
> > system settings to get those to work?
> >
> > Thanks,
> > Sankalp
> >
>

Reply via email to