Added certs for SSL; minor change to logging