2023-05-16 15:49:03 -03:00
|
|
|
/// Controls staging environment for network
|
2023-06-16 05:59:48 +03:00
|
|
|
class TlsOptions {
|
2022-11-18 10:59:47 +04:00
|
|
|
/// Whether we request for staging temprorary certificates.
|
|
|
|
/// Hardcode to 'true' in the middle of testing to not
|
2022-11-20 18:35:44 +04:00
|
|
|
/// get your domain banned by constant certificate renewal
|
2023-05-16 15:49:03 -03:00
|
|
|
///
|
|
|
|
/// If set to 'true', the 'verifyCertificate' becomes useless
|
2023-06-16 05:59:48 +03:00
|
|
|
static bool stagingAcme = false;
|
2023-05-16 15:49:03 -03: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;
|
2022-11-18 10:59:47 +04:00
|
|
|
}
|