Fix debug mode (no cert)