Closed biswajit84 closed 5 months ago
My guess would be that the client is attempting to use an old version of TLS so the server disconnects. Why that is, though, I do not know. Also, the CLI command is rather weird, you should simply run the CLI (no root) and then execute
connect --tls --host localhost --login tls-test --port 6513 --cert /home/biswajit/netopeer/netopeer2/example_configuration/tls_certs/client.crt --key /home/biswajit/netopeer/netopeer2/example_configuration/tls_certs/client.key --trusted /home/biswajit/netopeer/netopeer2/example_configuration/tls_certs/ca.pem
Thanks a lot for your input. I have tried as you have suggested and it worked..
Regards, Biswajit
Hi , I am trying to test the netopeer2-server with TLS based communication with netopeer2-cli. when I try to connect the server using connect --host localhost --login tls-test --port 6513 on client side I am getting error : nc ERROR: Starting the SSH session failed (Socket error: Connection reset by peer). cmd_connect: Connecting to the localhost:6513 as user "tls-test" failed.
Any input will be really helpful. on server side:
Command used to run netopeer2-cli:
openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Regards, Biswajit