Cov txheej txheem:

Yuav ua li cas kuv thiaj li tau txais lub alias keystore?
Yuav ua li cas kuv thiaj li tau txais lub alias keystore?

Video: Yuav ua li cas kuv thiaj li tau txais lub alias keystore?

Video: Yuav ua li cas kuv thiaj li tau txais lub alias keystore?
Video: Yuav ua li cas thiaj khiav dim lub ntiajteb no 2024, Kaum ib hlis
Anonim

1 Teb

  1. Kuv xav tias koj tuaj yeem khiav cov lus txib hauv qab no los teev cov ntsiab lus ntawm koj keystore ntaub ntawv.
  2. keytool -v -list - keystore . keystore .
  3. Yog tias koj tab tom nrhiav ib qho tshwj xeeb npe , koj tuaj yeem qhia nws hauv cov lus txib:
  4. keytool - lis - keystore . keystore - npe foos.
  5. Yog tias npe tsis pom, nws yuav tso saib ib qho kev zam:

Cov neeg kuj nug, yuav ua li cas kuv thiaj li tau alias los ntawm keystore ntaub ntawv?

Teev npe Aliases Hauv Android Keystore Cov Ntaub Ntawv Nrog Keytool

  1. Qhib Terminal Window, Khiav Cov Lus txib no: keytool -list -keystore /location/of/your/com.example.keystore. Xyuas kom tseeb tias "keytool" yog nyob rau hauv koj PATH, lossis "cd" rau hauv "tools" directory qhov twg koj cov ntaub ntawv hauv SDK.
  2. Sau koj tus password rau keystore thaum raug ceeb toom (koj tsis nco qab lawm, koj puas tau?
  3. Saib cov txiaj ntsig!

Tsis tas li ntawd, kuv yuav nrhiav tau kuv tus keystore 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:

Qhov thib ob, dab tsi yog qhov keystore alias?

Ib daim ntawv pov thawj npe yog lub npe muab rau CA daim ntawv pov thawj nyob rau hauv lub keystore . Txhua qhov nkag hauv lub keystore muaj ib npe los pab txheeb xyuas nws. Daim ntawv pov thawj npe qhia txog qhov npe ntawm ib daim ntawv pov thawj tshwj xeeb hauv qhov system keystore uas yuav tsum tau siv thaum ua HTTPS kev twb kev txuas mus rau qhov teev URL.

Kuv yuav qhib cov ntaub ntawv keystore li cas?

Txhawm rau qhib lub keystore los ntawm cov ntaub ntawv:

  1. Los ntawm cov ntawv qhia zaub mov, xaiv Qhib Keystore.
  2. Qhib Keystore dialog yuav tshwm sim.
  3. Xaiv lub nplaub tshev uas cov ntaub ntawv keystore khaws cia.
  4. Nyem rau ntawm qhov xav tau cov ntaub ntawv keystore lossis ntaus lub npe file rau hauv Cov Ntaub Ntawv Lub Npe lub thawv ntawv.
  5. Nyem rau ntawm qhov qhib khawm.
  6. Tus Password rau Keystore

Pom zoo: