Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Fri Jun 28 17:00:10 2019 
    icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Mon Aug 12 13:11:54 2019 
       icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Andreas Luedeke on Wed Aug 14 13:25:15 2019 
          icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Wed Aug 14 18:36:17 2019 
             icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Thu Aug 15 19:00:12 2019 
Message ID: 68998     Entry time: Wed Aug 14 13:25:15 2019     In reply to: 68997     Reply to this: 68999
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Windows  ELOG Version: 3.1.4 
Subject: Re: Unable to add entries with command line elog.exe with SSL 

I am using SSL with ELOG and it works fine with the "elog" executable. I am no expert on SSL, but I can provide my two cent what you could try, maybe it helps:

  • SSL desires to run on the port 443 - I have no idea if you can force it to run on an arbitrary port, it might be possible. But does it make sense?
  • Certificates are checked against the provider of the certificate. I guess this works fine from your web browser? Or did you just add a security exception?
  • Has the installed "elog.exe" been compiled with SSL support on?
Antonio Bulgheroni wrote:

Any news for my problem? 

Your help is very much appreaciated! 

thanks :)

 

Antonio Bulgheroni wrote:

Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked if it was possible to automatically insert elog entries via command line. 

elog.exe should be the answer and so I gave it a try.

I was trying the following command line: 

elog.exe. -h server-ip-address -p 8080 -l demo -s -v -u username password -a "Mass=0" This is a test entry

Of course server-ip-address and username / password were proper fields. 

When I was doing this from the server itself, I got the following message:

Successfully connected to host server-ip-address, port 8080
Possibly invalid certificate, continue on your own risk!

and then the entry was inserted, but when I was typing the same from any other PC I got the error message:

Successfully connected to host server-ip-address, port 8080
elogd server does not run SSL protocol

The entry is of course not added and also the server (that is running in very verbose mode) reported a

SSL_accept failed

How can I fix it?  

Thanks for helping,

Antonio

 

 

ELOG V3.1.5-fe60aaf