You receive the error "The Windows 64-bit agent installer contains a invalid file: endpoint_cert.pem Remove the file from the agent installer." when trying to create an agent installer package.
Release: 15.x
The error was caused by using the wrong file to generate the agent installer package.
Use the 64-bit Windows file to create the 64-bit Windows agent installer package.