added connectionSuccess flag and error message to monitored server domain
added unique constraints to certificate fingerprints
remove old certificates only if there is no error