#------------------------------------------------------------------------------
# /etc/check.d/certs_letsencrypt.exp - configuration for certs_letsencrypt
#
# Copyright (c) 2016-2016 The Eisfair Team, team(at)eisfair(dot)org
#
# Creation:    2016-09-02 jed
# Last Update: $Id$
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#------------------------------------------------------------------------------

LETSENCRYPT_1_100       = '[1-9]|[1-9][0-9]|100'
                        : 'value not in range, only values between 1 and 100 are allowed.'
LETSENCRYPT_ABS_PATH    = '/(([[:alnum:]]|[-_. ])+)(/([[:alnum:]]|[-_. ])+)*/?'
                        : 'no valid absolute path (must start with a slash and only numbers, letters, "-",
                           "_" and " " divided by "/" are allowed)'
LETSENCRYPT_DOMAIN      = '((RE:FQDN)|(RE:HOSTNAME))((:((RE:FQDN)|(RE:HOSTNAME)))+)?'
                        : 'no valid domain specification, should contain one or more
                           fully qualified domain names or host names which are
                           separated by a colon. IP addresses are not supported.'
LETSENCRYPT_MODE        = 'live|test'
                        : 'no valid mode chosen, should be "live" or "test".'
LETSENCRYPT_HOOK_TYPE   = 'clean_challenge|deploy_cert|deploy_challenge|unchanged_cert'
                        : 'no valid type selected, should be "clean_challenge",
                          "deploy_cert", "deploy_challenge" or "unchanged_cert".'
LETSENCRYPT_PROGRAMS    = 'apache2|ldapserver|mail|mini_httpd|partimg|pure-ftpd|ssmtp'
                        : 'no valid program name selected, should be "apache2",
                           "ldapserver", "mail", "mini_httpd", "partimg", "pure-ftpd"
                           or "ssmtp".'
LETSENCRYPT_EUSAGE      = '()|all|(RE:LETSENCRYPT_PROGRAMS)(:(RE:LETSENCRYPT_PROGRAMS))*'
                        : 'invalid list of program, should be an empty string, "all"
                           or a colon separated list of the following programs:
                           "apache2", "ldapserver", "mail", "mini_httpd", "partimg",
                           "pure-ftpd" or "ssmtp".'
LETSENCRYPT_RSA_KEYBITS = '1024|2048|4096|8192'
                        : 'invalid value selected, should be "1024", "2048", "4096"
                           or "8192".'