
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.