Disabled debugging.
Changed exception to IOException.
Checkpoint: refactored CertificateStore to generic CertificateStore
util.