With following procedure you can create a .p12/.pfx certificate with a *.crt (CA) and a *.key (Key file) file.
openssl pkcs12 -export -in ca.crt -inkey keyfile.key -out out.p12
some foobar
With following procedure you can create a .p12/.pfx certificate with a *.crt (CA) and a *.key (Key file) file.
openssl pkcs12 -export -in ca.crt -inkey keyfile.key -out out.p12