Article delegate-en/3771 of [1-5113] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:]  
Re: minimum neccessary libs
Wed, 20 Jun 2007     Yutaka Sato

Joe,

In message  on 06/20/07(00:34:10)
you "Joe Moore" wrote:
 | |Also... I examined delegated/sslway logs and it appears to be looking
 |in
 | |different places for the "server-cert.pem" and "server-key.pem" each
 | |time I start it up. It has reported not finding them in "/", "/root",
 | |and "/var/spool/nobody". Where is the best place for these files once
 |I
 | |generate "real" certs for my boxes?
 |
 |It should be in a directory listed in LIBPATH.  The recommended
 |directory
 |is LIBDIR of which default is DGROOT/lib/, where DGROOT is determined by
 |the owner of DeleGate, like "/usr/home/delegate/delegate/lib/" for a
 |user
 |name "delegate" for example.
 |
 |I'll have to stick it somewhere in the LIBPATH because the DGROOT is on
 |/var which is a ramdisk so nothing there will survive a reboot.

The simplest way will be putting the PEM files at the same directory
where the executable of DeleGate is placed (i.e. EXECDIR which is one
of directories listed in LIBPATH).

Another way is implanting them into the executable file of DeleGate at 
the complation time, by placing the PEM files replacing
"src/builtin/config/anonymous-{cert,key}.pem".

And yet another way is implanting them into the executable at the
configuration time with -Fimp option (but it is not implemented yet)

Cheers,
Yutaka
--
  9 9   Yutaka Sato http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V