Thanks for your responses. I've tried using the OpenSSL suggestion from Victor but my NetXMS server is running on Windows. When I tried to run s_client command it runs but does not exit for about a minute. Any ideas how I can avoid this long delay?