How to Import CA cert to pkcs12

Eli Rosencruft's link contains lots of commands. In essence, this is how you import a CA cert into pkcs12 using java's {keytool}:

$ keytool -importcert -noprompt \
          -keystore [keystore name].p12 -storepass [keystore pass] \
          -alias [name of cert in keystore] -file [cert file to import].pem