public AutomationSelfSignedCertificate() { try { certObj = new Model.Certificate(); certObj.FriendlyName = Properties.Settings.Default.certFriendlyName; certObj.ExpirationLengthInDays = Constants.ExpirationLengthInDaysForSelfSignedCert; } catch (Exception ex) { throw ex; } }