Revision 600535f0 lib/constants.py

b/lib/constants.py
222 222
# Digest used to sign certificates ("openssl x509" uses SHA1 by default)
223 223
X509_CERT_SIGN_DIGEST = "SHA1"
224 224

  
225
# Default validity of certificates in days
226
X509_CERT_DEFAULT_VALIDITY = 365 * 5
227

  
228
# commonName (CN) used in certificates
229
X509_CERT_CN = "ganeti.example.com"
230

  
225 231
X509_CERT_SIGNATURE_HEADER = "X-Ganeti-Signature"
226 232

  
227 233
IMPORT_EXPORT_DAEMON = _autoconf.PKGLIBDIR + "/import-export"

Also available in: Unified diff