Hi,
> In the client.pem file i put the servers certificate and the client
> private key, do i need to put the client certificate also in that file?
You *don't* put the server certificate in that file at all. Its wrong to do
so and it will never work that way.
You put:
- the client certificate
- the corresponding private key of the client certificate
in the client.pem file that you point to with the crt keyword.
Regards,
Lukas

