Allow invalid certificate for debug build.