Enable ssl and set configuration file

hello everyone,
i need a help to enabling ssl in mongo, I followed the following steps:

$openssl pkcs12 -in first_name.pfx -clcerts -nokeys -out second_name.crt
$openssl pkcs12 -in first_name.pfx -out fouth_name.pem

is right how i extracted from pfx the crt and pem files?

is right how i set the conf file for enable ssl?

  port: 27017
  bindIp:  # Enter,:: to bind to all IPv4 and IPv6 addresses or, alternatively, use the net.bindIpAll setting.
    CAFile: /data/certs/server/second_name.crt
    PEMKeyFile: /data/certs/server/fouth_name.pem
    mode: allowSSL

thank in advice.

@Stennie or @steevej any idea or suggestion about it?