문제

If certificates are public anyways, why are they stored in a password-protected keystore?

Is this a must, or a means to relate the public key to the private key?

도움이 되었습니까?

해결책

There a few reasons for that:

First, in terms of implementation it is indeed a means to relate a private key to a public key. If a private key if compromised, the whole certificate is compromised.

Second, the knowledge of "who we trust" is valuable.

Third, a random user shouldn't be able to add new certificates to the trust store.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top