Sending a CURL request with a security certificate

How to send a CURL Request that references a security certificate in .cer format and a key in .key format?