Am 09.04.2007 um 23:24 schrieb Andreas Thienemann: > Hello Christian, >
Aloah! :) >> We would like to setup opnxpki in a test environment to use it >> instead of openca. >> Right now we are somewhat stumbling across the mason elements. >> We think the basic tests should be setup quite ok, but a call to our >> webserver just gives: >> I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; __SOCKETFILE__ => /usr/ >> local/var/openxpki/openxpki.socket > > Are you using the openxpki.cgi "wrapper" for the mason calls or are > you > using mod_perl with the apache webserver? > > At the bottom of the webserver configuration examples in the > example-dir > you should find two variables allowing you to customize the file > location > of said socket. We are trying to set the socket in this file, included in httpd.conf: # # Simple Mason configuration via httpd.conf directives. # PerlAddVar MasonDataDir "/tmp"" PerlAddVar MasonCompRoot "/usr/local/share/openxpki-client-html-mason/ htdocs" PerlAddVar MasonAllowGlobals "$context" PerlAddVar MasonAllowGlobals "%session_cache" # Serve these requests through Mason. <LocationMatch "\.html$"> SetHandler perl-script PerlHandler OpenXPKI::Client::HTML::Mason::ApacheHandler </LocationMatch> # this is necessary to make internet explorer happy because it do not understand content types <LocationMatch "\.crt$"> SetHandler perl-script PerlHandler OpenXPKI::Client::HTML::Mason::ApacheHandler </LocationMatch> # Hide private components from users. <LocationMatch "(handler|mhtml)$"> Order allow,deny Deny from all </LocationMatch> # you can set the locale prefix and the location of the socket file using # environment variables SetEnv OPENXPKI_SOCKET_FILE /usr/local/var/openxpki/openxpki.socket #SetEnv OPENXPKI_LOCALE_PREFIX /usr/local/share/locale But the only thing we get: I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; __SOCKETFILE__ => /usr/ local/var/openxpki/openxpki.socket [EMAIL PROTECTED] /usr/local/share/openxpki]# ls -la /usr/local/var/ openxpki/openxpki.socket srwxrwx--- 1 openxpki www 0 Apr 9 19:50 / usr/local/var/openxpki/openxpki.socket The socket exists but something must go wrong :) Thanks for your answer! Christian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
