Added certificate checking with hardcoded certificate
Fixed CrossbearNotary.