Cov txheej txheem:

Kuv yuav saib cov ntsiab lus ntawm Cacerts li cas?
Kuv yuav saib cov ntsiab lus ntawm Cacerts li cas?

Video: Kuv yuav saib cov ntsiab lus ntawm Cacerts li cas?

Video: Kuv yuav saib cov ntsiab lus ntawm Cacerts li cas?
Video: YUAV UA LI CAS LUAG THIAJ SAIB TAUS YUS 2024, Hlis ntuj nqeg
Anonim

Rau saib cov ntaub ntawv hauv a cacerts cov ntaub ntawv, koj tuaj yeem siv cov cuab yeej siv keytool muab nrog Sun J2SDK versions 1.4 lossis tom qab ntawd. Cov piv txwv hauv qab no siv cov lus txib -list rau tso saib cov ntawv pov thawj CA hauv lub cacerts ntaub ntawv.

Xav txog qhov no, kuv yuav saib cov ntsiab lus ntawm JKS cov ntaub ntawv li cas?

Yog tias koj xav tau tshawb xyuas cov ntaub ntawv hauv daim ntawv pov thawj, lossis Java keystore, siv cov lus txib no

  1. Xyuas daim ntawv pov thawj stand-alone: keytool -printcert -v -file mydomain.
  2. Xyuas seb daim ntawv pov thawj twg nyob hauv Java keystore: keytool -list -v -keystore keystore.
  3. Kos ib qho keystore nkag siv lub npe:

Ib yam li ntawd, kuv yuav sau txhua daim ntawv pov thawj hauv JDK Cacerts cov ntaub ntawv li cas? Koj tuaj yeem tshawb xyuas ( lis ) daim ntawv pov thawj hauv koj cacert keystroke siv lub java ua keytool. keytool yuav tsum nyob rau hauv koj txoj kev, los yog tuaj yeem pom nyob rau hauv phau ntawv teev npe ntawm koj Java Installation (piv txwv li C:/Program Cov ntaub ntawv (x86)/ Java /jre1. 8/bin/keytool.exe).

Tsis tas li cov lus nug yog, daim ntawv pov thawj dab tsi muaj nyob hauv cov ntaub ntawv Cacerts?

Cov cacerts cov ntaub ntawv yog ib phau ntawm kev ntseeg siab daim ntawv pov thawj txoj cai (CA) daim ntawv pov thawj . Oracle suav nrog a cacerts cov ntaub ntawv nrog nws cov kev txhawb nqa SSL hauv Java™ Secure Socket Extension (JSSE) cov cuab yeej thiab JDK. Nws muaj daim ntawv pov thawj cov ntaub ntawv rau cov neeg paub zoo Daim ntawv pov thawj cov tub ceev xwm, xws li VeriSign ™.

Puas yog Cacerts yog lub khw tseem ceeb lossis Truststore?

' cacerts 'yog a truststore . A ntseeg lub khw yog siv los txheeb xyuas cov phooj ywg. A keystore yog siv los txheeb xyuas koj tus kheej. cacerts yog qhov twg Java khaws cov ntawv pov thawj pej xeem ntawm cov hauv paus CAs.

Pom zoo: