Cov txheej txheem:

Kuv yuav import lub keystore rau hauv dab noj hnub li cas?
Kuv yuav import lub keystore rau hauv dab noj hnub li cas?

Video: Kuv yuav import lub keystore rau hauv dab noj hnub li cas?

Video: Kuv yuav import lub keystore rau hauv dab noj hnub li cas?
Video: Kuv tau koj yeej tsis yog yuam kev 4/1/2020 2024, Kaum ib hlis
Anonim

Txheej txheem

  1. Los ntawm ib qho kev hais kom ua, khiav cov lus txib hauv qab no mus import daim ntawv pov thawj: keytool .exe - ntshuam -alias [server] -file [server].der - keystore ram. keystore -storepass ibmram.
  2. Hom yog rau lees txais daim ntawv pov thawj thiab nias Enter.
  3. Xyuas kom tseeb tias daim ntawv pov thawj tau ntxiv rau tus keystore .

Yog li ntawd, kuv yuav import daim ntawv pov thawj rau hauv keystore li cas?

Khiav Java keytool hais kom ua kom import daim ntawv pov thawj mus rau hauv keystore

  1. Qhib cov lus hais kom sai thiab hloov mus rau cov npe hauv qab no: injre6.0in.
  2. Khiav cov kab hais kom ua hauv qab no.
  3. Nkag mus yog thaum tau hais kom ntseeg lossis ntxiv daim ntawv pov thawj.

Qhov thib ob, kuv yuav ua li cas rub tawm SSL Daim Ntawv Pov Thawj hauv Java? Java SSL Certificate Installation

  1. Rub tawm koj daim ntawv pov thawj SSL daim ntawv pov thawj (your_domain_name. p7b) los ntawm koj tus DigiCert Account mus rau tib lub nplaub tshev uas koj lub khw tseem ceeb yog (your_site_name.
  2. Ntaus cov lus txib nram qab no rau nruab cov ntaub ntawv pov thawj:

Tsis tas li ntawd, kuv yuav nruab ib daim ntawv pov thawj hauv Java li cas?

Txhawm rau ua kom koj Java runtime ib puag ncig ntseeg daim ntawv pov thawj, koj yuav tsum tau xa nws mus rau hauv JRE daim ntawv pov thawj khw

  1. Kauj ruam 1 - Tau txais daim ntawv pov thawj rau hauv koj lub khw browser. Xauj rau koj daim ntawv thov server siv SSL.
  2. Kauj ruam 2 - Export daim ntawv pov thawj mus rau ib tug binary ntaub ntawv.
  3. Kauj ruam 3 - Ntshuam daim ntawv pov thawj rau hauv Java Store.

SSL daim ntawv pov thawj hauv Java yog dab tsi?

Truststore yog cov ntaub ntawv muaj kev ntseeg siab daim ntawv pov thawj uas Java siv los validate kev sib txuas ruaj ntseg. Txhawm rau txheeb xyuas qhov teeb meem no, peb muaj ntau txoj kev xaiv: ntxiv rau pej xeem daim ntawv pov thawj ntawm tus neeg rau zaub mov rau lub neej ntawd cacerts truststore siv los ntawm Java . thaum pib lub SSL kev sib txuas. Teem lub javax.

Pom zoo: