keytool -import -trustcacerts
I am confused with this trustcacerts
option of keytool.
When I googled on this, I found these points:
Depending on the situation you may not require the
-trustcacerts
option. Try the operation without it if you like.The
-trustcacerts
argument tells keytool that you want to import this as a trusted certificate.Use the cacerts file to obtain trusted certificates from certificate authorities that have signed the certificate that is being imported.
At last I found out that this trustcacerts
is optional.
Generally any Developer/CEO of the website wants that their site to be trusted by the Customers, then why do we need to explicitly specify this with the keytool command?
Thanks