2023-05-16 18:49:03 +00:00
|
|
|
/// Controls staging environment for network
|
2023-06-16 02:59:48 +00:00
|
|
|
class TlsOptions {
|
2022-11-18 06:59:47 +00:00
|
|
|
/// Whether we request for staging temprorary certificates.
|
|
|
|
/// Hardcode to 'true' in the middle of testing to not
|
2022-11-20 14:35:44 +00:00
|
|
|
/// get your domain banned by constant certificate renewal
|
2023-05-16 18:49:03 +00:00
|
|
|
///
|
|
|
|
/// If set to 'true', the 'verifyCertificate' becomes useless
|
2023-06-16 02:59:48 +00:00
|
|
|
static bool stagingAcme = false;
|
2023-05-16 18:49:03 +00:00
|
|
|
|
|
|
|
/// Should we consider CERTIFICATE_VERIFY_FAILED code an error
|
|
|
|
/// For now it's just a global variable and DNS API
|
|
|
|
/// classes can change it at will
|
|
|
|
///
|
|
|
|
/// Doesn't matter if 'statingAcme' is set to 'true'
|
|
|
|
static bool verifyCertificate = false;
|
2023-12-28 19:35:39 +00:00
|
|
|
|
|
|
|
static bool allowCustomSshKeyDuringSetup = false;
|
2022-11-18 06:59:47 +00:00
|
|
|
}
|