Update certificate_manager.cpp