Hello all, I must be missing something, any assistance would be great. Server is CentOS, we have created a openssl cert to be used, no pass phrase, etc. On server for testing we run /usr/bin/tentacle_server -e /home/tentaclecert.pem -k /home/tentaclekey.pem -f /home/cacert.pem -s /home/temp -v user has full rights /home/temp On windows agent via command line we run tentacle_client -a xx.xx.xx.xx -e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem -v test_file.txt [log] Connected to xx.xx.xx.xx [log] SSL started [log] Request to send file 'test_file.txt' [log] File test_file.txt sent Perfect, great. So manually works. On the windows agent pandora_agent.conf we add, server_opts -e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem -v test_file.txt I restart agent and on server logs we get [log] Client connected from ::ffff:yy.yy.yy.yy [err] SSL accept attempt failed with unknown error error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol We get with or without server_opts populated on client. Where do we insert the -e and -k for tentacle to use always? Please help. Newbie to FMS
PandoraFMS 6.0 tentacle client over SSL can't specify key
CRKLINGER · 19 mar 2016, 8:11 · 4 mensajes · 65 visitas
- Inicio del debate
Hello CarlosR, Yes, the parameter "server_opts" of the agent is the correct one, here is where you have to setup the extra options. However, in this case you don't need to specify the file, since it is the agent itself who sends it. So, try with the -e and -k options, but without using the -v and also without specifying the file (in this case test_file-txt). Also, try with double and/or single quotation marks, it can be tricky to hit the key, also because this feature has not been tested that much on Windows systems. So all your feedback is well appreciated! Try something like: server_opts -e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem server_opts "-e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem" server_opts '-e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem' Let me know the results of testing these different options. Kind regards, Antonio.
Hello CarlosR, Yes, the parameter "server_opts" of the agent is the correct one, here is where you have to setup the extra options. However, in this case you don't need to specify the file, since it is the agent itself who sends it. So, try with the -e and -k options, but without using the -v and also without specifying the file (in this case test_file-txt). Also, try with double and/or single quotation marks, it can be tricky to hit the key, also because this feature has not been tested that much on Windows systems. So all your feedback is well appreciated! Try something like: server_opts -e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem server_opts "-e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem" server_opts '-e C:Setupcertstentaclecert.pem -k C:Setupcertstentaclekey.pem' Let me know the results of testing these different options. Kind regards, Antonio.
Hey, I was finally able to get it to work. I can't really believe that this problems doesn't have nobody else! Does no one use Pandora on Windows? This was my opts line: server_opts "-x mysecretpassword -e c:pandoratentacle.crt -k c:pandoratentacle.key" My initial and still persisting problem is that is DOES NOT work when the keyfiles are in a directory path including spaces. (C:Program Files...) Best regards -Marko
Hello guys and girls. I'm struggling with the same problem..... Have tried many many variations. All common from php and c#, but nothing worked. As a workaround, I place the certs in a dir with not white-spaces. But that's not ideal. Even the "special-folder-strings" like (%PROGRAMFILES%) won't work. I'm also interested in the solution.
Entra en tu cuenta para publicar.
