App::CamelPKI::Model::WebServer - The singleton which represents the Camel-PKI AC Web server.
my $apache = $c->model("WebServer")->apache;
The App::CamelPKI::Model::WebServer is a singleton owned by Catalyst which host a singleton of App::CamelPKI::SysV::Apache, reprenting the Web server in which the application is running.
An App::CamelPKI::Model::WebServer object represents exactly the same privileges than the App::CamelPKI::SysV::Apache object which is encapsulated in it.
The following variables are configured in App::CamelPKI::Model::WebServer:
The directory where the server private key and certificate are written.
Returns the App::CamelPKI::WebServer instance which represents the application Apache server.
To install App::CamelPKI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CamelPKI
CPAN shell
perl -MCPAN -e shell install App::CamelPKI
For more information on module installation, please visit the detailed CPAN module installation guide.