aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFiles
2019-09-11Bugfixes.v2.01Sergey Poznyakoff3
* Changes: Update * Makefile.PL: Require Config::Parser. * lib/App/Acmeman.pm: Implement the --version option. * lib/App/Acmeman/Source/Apache.pm (scan): Set core.postrenew from layout, if it is not set explicitly. * lib/App/Acmeman/Source/File.pm (scan): Fix inverted logic (load returns false on error.
2019-08-26Improve docs.Sergey Poznyakoff1
2019-08-26Rewrite the Apache source support using Apache::Config::Preproc moduleSergey Poznyakoff2
This enables acmeman to handle complex Apache configurations with lots of includes and eventual macros. * Makefile.PL: Require Apache::Defaults and Apache::Config::Preproc` * acmeman: Don't use the -w perl option. All acmeman sources use warnings, so they don't need it. Underlying modules, however, may emit warnings. In particular, Apache::Admin::Config is know to emit lots of warnings about undefined $_[0] being used in concatenation (in Apache/Admin/Config.pm:443). These are bening and completely out of my control. Eliminating the -w option suppresses them. * lib/App/Acmeman/Source/Apache.pm: Rewrite using Apache::Config::Preproc * lib/App/Acmeman/Config.pm (mangle): Raise error flag if the configure method fails.
2019-08-23Move main functionality to a moduleSergey Poznyakoff6
* acmeman: Use App::Acmeman. * lib/App/Acmeman.pm: New module. * lib/App/Acmeman/Config.pm (mangle): Reset debug_level if necessary. Use the BOOL data type. * lib/App/Acmeman/Log.pm: New module. * lib/App/Acmeman/Source.pm: Use functions from App::Acmeman::Log. (add): New method. (define_alias): Use add. * lib/App/Acmeman/Source/Apache.pm: Use functions from App::Acmeman::Log. * lib/App/Acmeman/Source/File.pm: Likewise.
2019-08-21Use Config::Parser::Ini for configurationSergey Poznyakoff2
2019-08-15Fix acmeman --setupSergey Poznyakoff1
* acmeman: Unset core.source for setup * lib/App/Acmeman/Config.pm (unset): New function.
2019-03-15Multiple 'source' configuration statements.v1.10Sergey Poznyakoff1
* Changes: Version 1.10 * MANIFEST.SKIP: Update. * acmeman: Treat 'source' as multiple keyword. * lib/App/Acmeman/Source/File.pm (new): Append /* only to directory names.
2019-03-15BugfixSergey Poznyakoff1
* lib/App/Acmeman/Config.pm (_fixup): Use @path argument when passing pathnames.
2019-03-14Use full path to the service binaryv1.09Sergey Poznyakoff1
* acmeman: Version 1.09 * lib/App/Acmeman/Apache/Layout.pm: Use full path to the service binary
2018-10-06Support explicit declaration of server root directory in apache source ↵Sergey Poznyakoff1
configuration statement * acmeman: Document apache source --server-root option. * lib/App/Acmeman/Source/Apache.pm (new): Handle command line option. Declare '--server-root' option. (setup): Improve the SSLCipherSuite settings. (probe): Bail out if unable to determine server root.
2018-09-26BugfixSergey Poznyakoff1
* lib/App/Acmeman/Source/Null.pm: Provide a constructor.
2018-07-17Version 1.06v1.06Sergey Poznyakoff1
* lib/App/Acmeman/Source/Apache.pm (probe): Prefer apachectl over httpd (follow-up from Apache::Defaults) * acmeman: Version 1.06 * Changes: Update
2018-05-07Improve "file" sourceSergey Poznyakoff1
* lib/App/Acmeman/Source/File.pm (new): New options --ignore and --host. * acmeman: Document the "file" source.
2018-04-19Make sure configuration defaults are applied and syntax rechecked after ↵Sergey Poznyakoff1
configuring file source module. * acmeman: Call finalize after modifying configuration. * lib/App/Acmeman/Config.pm (finalize): New method. (new): Call finalize.
2018-04-19Provide a base class for source classes.Sergey Poznyakoff5
* lib/App/Acmeman/Apache/Layout.pm: Remove debug. * lib/App/Acmeman/Source.pm: New file. * lib/App/Acmeman/Source/Apache.pm: Inherit from App::Acmeman::Source. * lib/App/Acmeman/Source/Null.pm: Likewise. * lib/App/Acmeman/Source/File.pm: New file.
2018-04-17Add null domain source.Sergey Poznyakoff1
* Makefile.PL: Lower some prerequisite requirements. * acmeman: Document the null source. * lib/App/Acmeman/Source/Null.pm: New file.
2018-04-17New statement domain.*.postrenew; core.restart renamed to core.postrenewSergey Poznyakoff2
2018-04-16BugfixSergey Poznyakoff1
* lib/App/Acmeman/Source/Apache.pm (examine_http_config): Ignore trailing whitespace in LetsEncryptReference.
2018-02-28BigfixesSergey Poznyakoff1
* Makefile.PL: Require Crypt::OpenSSL::X509 1.808 (need the Crypt::OpenSSL::X509::Extension to_string method) * acmeman (domain_cert_expires): Get rid of the the old kludge for retrieving SANs. (coalesce): Fix Domain merging. (cb_parse_bool): Bugfix. * lib/App/Acmeman/Domain.pm (_domain_plus): Modify and return a cloned copy of $a. Fix typo in the declaration of overloaded '+'
2018-02-09Use configurable key length.Sergey Poznyakoff2
* acmeman: (syntax) New configuration settings: core.key-size and domain.*.key-size. (make_csr): Take the key size as 2nd argument. (domain_cert_expires): Determine key size from the configuration. Include it in the debug output. (coalesce): Bugfix. * lib/App/Acmeman/Apache/Layout.pm (apache_layout_tab): Additional tests to resolve ambuguities. (new): Use the _test field to resolve ambiguities. * lib/App/Acmeman/Source/Apache.pm (server_root): New method. (http_include): Determine the server root by probing the server, unless it is set explicitly in the configuration. (probe): New method.
2017-09-13RewriteSergey Poznyakoff4
This patch introduces acmeman configuration file, which can be used to direct its action if a server other than Apache is used. It also can be instructed to store certificate, certificate chain, and certificate key in a single file, instead of three different ones. This can be used with such servers as pound(8). In the absense of a configuration file, the program operates as in previous versions. * MANIFEST: Update. * Makefile.PL: Update. * Changes: Update. * acmeman: Use configuration file if present. Apache configuration remains as a default source of TLS domains. Configuration file can override or complement it. * lib/App/Acmeman/Domain.pm: New file. * lib/App/Acmeman/Config.pm: New file. * lib/App/Acmeman/Source/Apache.pm: New file. * lib/App/Acmeman/Apache/Layout.pm: New file.

Return to:

Send suggestions and report system problems to the System administrator.