At least on Centos 7 the curl fails with:
_curl: (58) could not load PEM client certificate, OpenSSL error error:140AB18F:SSL routines:SSL_CTX_usecertificate:ee key too small, (no key found, wrong pass phrase, or wrong file format?)
If you create the certificates with -newkey rsa:2048 then everything is fine.
At least on Centos 7 the curl fails with: _curl: (58) could not load PEM client certificate, OpenSSL error error:140AB18F:SSL routines:SSL_CTX_usecertificate:ee key too small, (no key found, wrong pass phrase, or wrong file format?)
If you create the certificates with -newkey rsa:2048 then everything is fine.