The pem file is what you're looking for.
Linux/BSD doesn't care about file extensions, '.txt', '.csr' is just a mark to help you understand what file type it's. it doesn't really matter.
In your case, someone uses '.pem', and some uses '.crt', you use '.csr'.