I am having a problem with my generated pkcs12 file using keytool.
I ran this command to generate a pkcs12 client-certificate:
keytool -importkeystore -srckeystore client.jks -srcstorepass password -srcalias clientkey -destkeystore client.p12 -deststoretype PKCS12 -deststorepass password -destalias clientkey -noprompt
The file client.p12 is created and browser loads it and will ask for the password then the website will load normally. The problem is in google-chrome or any other browser can change the file's password by using "Export" certificate in settings-advance-manage certificates section of the browser. Then they can load it to other pc's browser using the password they set when exporting it.
Is there a way to prevent this? Thanks in advance