When given .crt and .key files, make a .pfx file

The command to be run is (replacing domain.name with your filenames):
openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt