Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to connect to an ELOG server running behind apache+ssl using the elog command line program?, posted by Johan Nyberg on Sat Oct 15 16:50:25 2005 
    icon2.gif   Re: How to connect to an ELOG server running behind apache+ssl using the elog command line program?, posted by Stefan Ritt on Mon Oct 17 10:20:31 2005 
       icon2.gif   Re: How to connect to an ELOG server running behind apache+ssl using the elog command line program?, posted by Johan Nyberg on Mon Oct 17 11:07:10 2005 
Message ID: 1469     Entry time: Mon Oct 17 11:07:10 2005     In reply to: 1468
Icon: Reply  Author: Johan Nyberg  Author Email: johan.nyberg@tsl.uu.se 
Category: Question  OS: Linux  ELOG Version: 2.6.0 
Subject: Re: How to connect to an ELOG server running behind apache+ssl using the elog command line program? 

Stefan Ritt wrote:

Johan Nyberg wrote:
I need to post a large number of "old" messages to one of my logbooks and I am trying to modify the script doelog (see http://midas.psi.ch/elogs/Contributions/10) to suit my needs. I am using apache + ssl for secure logins to my ELOG server. The doelog script uses the elog utility program, which is useful for posting ELOG messages from scripts or from the command line. My problem is that I cannot talk to my ELOG server with elog.


This is because elog does not support "https" through secure socket layers (SSL). Also elogd does not, that's why you use Apache as your proxy. So the only way for you to use elog is to execute it on the server, where it can directly connect to elogd without going through the ssl layer of Apache.


Hi Stefan,

Thanks for your advice. As you say I can add entries using elog to my logbooks if I do it from the server on which elogd runs, in which case ssl and apache are bypassed:

$ elog -h localhost -p 8080 ...

Thanks once again for your excellent software!

Johan
ELOG V3.1.5-3fb85fa6