IdentityStore.addSelfSignedDomainCertificate considers the certificate validity in days, not in months.