Hey guys,
Im new to openca. I've installed the ubuntu binary on Ubuntu 8.04. I have
apache already installed. I copied the all files in
/opt/openca/contrib/apache/ to /etc/apache/conf.d/. However this is not
enough to get CGI to work.
So I had to create a link: /usr/lib/cgi-bin/pki ---->
/opt/openca/var/www/cgi-bin/pki
I configured the config.xml file in the *web server* section with:
<!-- ======================== -->
<!-- web server configuration -->
<!-- ======================== -->
<option>
<name>httpd_protocol</name>
<!-- <value>https</value> -->
<value>http</value>
</option>
<option>
<name>httpd_host</name>
<value>66.232.61.226</value>
</option>
<option>
<!-- please include the colon if you specify a port -->
<!-- please remember this is dependend from httpd_protocol -->
<name>httpd_port</name>
<!-- <value>:443</value> -->
<value>:80</value>
</option>
These are the content of the apache files:
common.conf:ScriptAlias /cgi-bin/pki/node
/opt/openca/var/www/cgi-bin/pki/node
common.conf:
common.conf:Alias /pki/node /opt/openca/var/www/html/pki/node
common.conf:
common.conf:<Directory /opt/openca/var/www/cgi-bin/pki>
common.conf: AllowOverride None
common.conf: Options ExecCGI
common.conf: Order allow,deny
common.conf: Allow from all
common.conf:</Directory>
common.conf:
common.conf:<Directory /opt/openca/var/www/html/pki>
common.conf: AllowOverride None
common.conf: Options +Indexes
common.conf: Order allow,deny
common.conf: Allow from all
common.conf:</Directory>
offline.conf:ScriptAlias /cgi-bin/pki/batch
/opt/openca/var/www/cgi-bin/pki/batch
offline.conf:ScriptAlias /cgi-bin/pki/ca /opt/openca/var/www/cgi-bin/pki/ca
offline.conf:
offline.conf:Alias /pki/batch /opt/openca/var/www/html/pki/batch
offline.conf:Alias /pki/ca /opt/openca/var/www/html/pki/ca
offline.conf:
online.conf:ScriptAlias /cgi-bin/pki/ra /opt/openca/var/www/cgi-bin/pki/ra
online.conf:ScriptAlias /cgi-bin/pki/pub /opt/openca/var/www/cgi-bin/pki/pub
online.conf:ScriptAlias /cgi-bin/pki/ldap
/opt/openca/var/www/cgi-bin/pki/ldap
online.conf:ScriptAlias /cgi-bin/pki/scep
/opt/openca/var/www/cgi-bin/pki/scep
online.conf:
online.conf:Alias /pki/ra /opt/openca/var/www/html/pki/ra
online.conf:Alias /pki/pub /opt/openca/var/www/html/pki/pub
online.conf:Alias /pki/ldap /opt/openca/var/www/html/pki/ldap
online.conf:
Everything else was left with default values. The problem is that when I go
to my webserver:
http://<ip-address>/cgi-bin/pki/node/node?cmd=getStaticPage&name=index
I get this error message:
[initServer:314] Aborting connection - you are using a wrong security
protocol (http).
Any help is appreciated.
Lenir
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users