Hi Jacques,

Have a look here for general advice of using this port:

https://github.com/openxpki/openxpki/blob/develop/package/freebsd/README-FREEBSD.TXT

On 29.09.2014 19:02, Jacques MAROIN wrote:
> Here is my problem,
> I have installed a fresh FreeBSD 10 system and built
> security/p5-openxpki from ports.
> Next, I've taken the openxpki/config.d from openxpki's github to put a
> default configuration for testing purposes.
>
> I've modified a bit the rc.d script because it didn't work out of box
> (service stop is still not 100% functionnal because it kill the main
> process but not the watchdog one, just a detail although it's a bit
> important)

Thanks for pointing this.

>
> Now, servers processes seems to work fine but I am stuck to deploy the
> OpenXPKI-Client-HTML-Mason Interface with an nginx/apache (doesn't
> matter) web server.

Port OpenXPKI-Client-HTML-Mason has been removed these days forever. 
What a strange idea to install a port which was removed?

Mason is no longer supported as a UI technology by the OpenXPKI project. 
You have to use FastCGI or CGI handler. Have a look at the site and wiki:

http://openxpki.org

> Several ports related to openxpki have been deleted recently and I am
> unable to find a documentation which clearly explain how to configure
> webserver and which files I need to expose GUI to openxpki users.

A port message, which is displayed after installing the main port 
(p5-openxpki) briefly says about this.
If you did not noticed it, you can read it here:

https://svnweb.freebsd.org/ports/head/security/p5-openxpki/pkg-message?revision=367626&view=markup

You have to look at configuration examples, which are installed by this 
port inside your %EXAMPLES_DIR%.

Openxpki itself is a set of server-side tools which can be used to setup 
a node, which can play a certain role in your PKI infrastructure. It is 
up to you to design you PKI. And it is up to you to put life inside your 
installation, and explain to it what it should do. You have to pass a 
long road before you can disturb USERS about their GUI. This procedure 
(called deployment) in _not_ specific to FreeBSD.

> Does Mason-GUI & Enrolment-GUI are 100% Perl script once openxpki have
> been builded, or do I require htdocs file from github ?
> Does openxpki-mason-mod_perl.conf still applicable on a FreeBSD system
> and which files sould I point to from this file ?
>
> Can someone explain me why Servers, Clients, Deployment ... ports are
> now bundled in one single port and why htdocs aren't available from ports?

They do. And docs which are available in the distribution, are installed 
by the port too. But let me recommend, that you read related site and 
wiki instead of the distributed docs, which are in a preliminary stage 
of development.

The present version of the FreeBSD port needs some mending (this is 
fixed in the version to come):

1. You have to install dependencies, which are missing from the present 
version of port:

databases/p5-DBD-Mock
security/p5-Crypt-CBC

2. You have to install perl interface for database of your choice. E.g. 
one of the following:

databases/p5-DBD-mysql
databases/p5-DBD-Pg
databases/p5-DBD-Oracle

> Can Someone point me out the right way to deploy ox's GUIs on FreeBSD ?
> If it is complicated to do that in a simple way, which system do you
> advise for future simple deployments?

Again, deployment is not system specific. Choose one where you feel more 
comfortable.
That said, some Linux distributions are better documented with a 
step-by-step instructions.
If all you want is to setup a standard demo CA, then your way is there.

All the best,
Sergei

------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to