-added debug output for cert check tracing