fix certificate file and comment out do not used lines