Hi List-

Since Michael was kind enough to make some changes to improve
installation on OpenBSD systems, I'd like to use the most current
sources in building my test system.

So I rm -rf'd my /usr/local/open[rc]a directories and started over using
the CVS module openca-0.9.

The thing is, after ./configure and make and make install-online, I have
no config.xml file in /usr/local/openra/openca/etc.  Just to make sure
this wasn't an OpenBSD install problem, I tried the same thing with CVS
sources on a Gentoo Linux box and got the same result.  On Linux:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/openca login 
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/openca co
openca-0.9

./configure  \
 --prefix=/usr/local/openra \
 --with-httpd-user=apache  \
 --with-httpd-group=apache  \
 --with-openca-prefix=/usr/local/openra/openca  \
 --with-etc-prefix=/usr/local/openra/openca/etc  \
 --with-httpd-fs-prefix=/usr/local/openra/httpd  \
 --with-module-prefix=/usr/local/openra/modules  \
 --with-node-prefix=ra-node  \
 --with-engine=no  \
 --with-web-host=ares.folkvang.org  \
 --enable-dbi  \
 --enable-rbac  \
 --with-hierarchy-level=ra\
 --with-openca-user=_openca\
 --with-openca-group=_openca\
 --enable-ocspd  \
 --with-openldap-prefix=/usr/local/lib
make
make install-online

ares openca-0.9 # ls -al /usr/local/openra/openca/etc/
total 20
drwxr-xr-x  5 apache  apache  4096 Sep 16 18:40 .
drwxr-xr-x  5 apache  apache  4096 Sep 16 18:38 ..
drwxr-xr-x  2 _openca _openca 4096 Sep 16 18:40 access_control
drwxr-xr-x  3 apache  apache  4096 Sep 16 12:42 openssl
drwxr-xr-x  2 _openca apache  4096 Sep 16 18:40 servers

On OpenBSD:

./configure \
--with-engine=no \
--with-httpd-user=www \
--with-httpd-group=www \
--with-openca-user=_openca \
--with-openca-group=_openca \
--with-httpd-fs-prefix=/usr/local/openra/httpd \
--with-web-host=mandible.example.com \
--with-ca-organization="Certification Services" \
--with-ca-country=US \
--with-ca-locality="Rhode Island" \
--with-ldap-port=389 \
--with-ldap-root="cn=Manager,dc=example,dc=com" \
--with-ldap-root-pwd="secret" \
--with-module-prefix=/usr/local/openra/modules \
--with-openssl-prefix=/usr/local/ssl \ --with-openldap-prefix=/usr/local
--enable-ocspd \
--enable-dbi \
--enable-rbac \
--prefix=/usr/local/openra \
--with-service-mail-account="[EMAIL PROTECTED]" \
--with-node-prefix=ra-node \
--with-hierarchy-level=ra
make
make install-online
/usr/local/src/OpenCA/openca-0.9 # ls -al /usr/local/openra/OpenCA/etc/
total 28
drwxr-xr-x  7 root  wheel  512 Sep 16 11:52 .
drwxr-xr-x  5 root  wheel  512 Sep 16 11:46 ..
drwxr-xr-x  7 root  wheel  512 Sep 16 11:48 access_control
drwxr-xr-x  2 www   www    512 Sep 16 11:52 bp
drwxr-xr-x  2 www   www    512 Sep 16 11:52 database
drwxr-xr-x  3 www   www    512 Sep 16 11:43 openssl
drwxr-xr-x  6 root  wheel  512 Sep 16 11:48 servers

When I did an RC6 install on Linux (same configure command), the content
of that directory was:

ares openca-0.9.2-RC6 # ls -al /usr/local/openra/openca/etc
total 180
drwxr-xr-x  10 apache  apache   4096 Sep 16 08:54 .
drwxr-xr-x   5 apache  apache   4096 Sep 16 08:54 ..
drwxr-xr-x   2 apache  apache   4096 Sep 16 08:56 access_control
-rw-r--r--   1 _openca _openca  2665 Sep 16 08:54 backup.xml.template
drwxr-xr-x   3 apache  apache   4096 Sep 16 08:54 bp
-rw-r--r--   1 _openca _openca 29819 Sep 16 08:54 config.xml
-rwxr-xr-x   1 _openca _openca  1224 Sep 16 08:54 configure_etc.sh
drwxr-xr-x   2 apache  apache   4096 Sep 16 08:54 database
drwxr-xr-x   2 apache  apache   4096 Sep 16 08:54 init.d
-rw-r--r--   1 _openca _openca 24459 Sep 16 08:54 ldap.xml.template
-rw-r--r--   1 _openca _openca 10874 Sep 16 08:54 loa.xml
-rw-r--r--   1 _openca _openca   842 Sep 16 08:54 log.xml
-rw-r--r--   1 _openca _openca 31239 Sep 16 08:54 menu.xml.template
-rwxr-xr-x   1 _openca _openca   383 Sep 16 08:54 openca_rc
-rwxr-xr-x   1 _openca _openca  1893 Sep 16 08:54 openca_start.template
-rwxr-xr-x   1 _openca _openca   206 Sep 16 08:54 openca_stop.template
drwxr-xr-x   4 apache  apache   4096 Sep 16 08:54 openssl
drwxr-xr-x   3 apache  apache   4096 Sep 16 08:54 rbac
drwxr-xr-x   2 apache  apache   4096 Sep 16 08:54 scep
drwxr-xr-x   2 apache  apache   4096 Sep 16 08:56 servers
-rw-r--r--   1 _openca _openca 12399 Sep 16 08:54 token.xml

Shouldn't I have a config.xml and a configure_etc.sh (and others) as I
do here?  I do get these when I install RC6 in Linux, but not OpenBSD. 
I am working towards a single computer installation for both the online
and offline components as Kevin Mitcham writes about in his Cookbook.

Do I need to check out another module from CVS in addition to
openca-0.9?  Or has the configuration of OpenCA changed recently so as
not to use a config.xml file?

Thanks for any suggestions.

-Kevin




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to