ubuntuccie23050:~/certmi$ cp cert.crt cert.pem
ubuntuccie23050:~/certdir$ ls
cert.crt cert.pem private.key
ubuntuccie23050:~/certmi$ openssl pkcs12 -export -in cert.pem -inkey private.key -out keyandcert1.p12
Enter Export Password:
Verifying – Enter Export Password:
ubuntuccie23050:~/certmi$ ls
cert.crt cert.pem private.key keyandcert1.p12
ubuntuccie23050:~/certmi$ exit