Are there any negative security implications of setting the private key password (DSA in this case) as a PKCS12 (and then JKS) export password (instead of generating/inventing a new one)? My use case is that I need to export my PEM private key as PKCS12 so that I can convert it into JKS to import it into a Java based system. I'm not interested in storing more than one private key in the PKCS12/JKS key store.
E.g.:
$ openssl pkcs12 -export -in mycert.crt -inkey privatekey.pem -out keystore.p12
Enter pass phrase for privatekey.pem:
Enter Export Password:
Verifying - Enter Export Password: