Cov txheej txheem:

Yuav ua li cas Import SSL daim ntawv pov thawj rau Cacerts?
Yuav ua li cas Import SSL daim ntawv pov thawj rau Cacerts?

Video: Yuav ua li cas Import SSL daim ntawv pov thawj rau Cacerts?

Video: Yuav ua li cas Import SSL daim ntawv pov thawj rau Cacerts?
Video: yuav coj li cas kom luag nyiam 2024, Kaum ib hlis
Anonim

home )); Luam cov ntaub ntawv JAVA_HOMElibsecurity cacerts mus rau lwm lub folder.

Txhawm rau import cov ntawv pov thawj rau hauv cacerts:

  1. Qhib Windows Explorer thiab mus rau qhov chaw cacerts cov ntaub ntawv, uas nyob hauv jrelibsecurity subfolder qhov twg AX Core Client raug teeb tsa.
  2. Tsim ib daim ntawv luam theej ntawm cov ntaub ntawv ua ntej hloov pauv.

Tsis tas li ntawd, kuv yuav import daim ntawv pov thawj rau hauv Cacerts li cas?

Yuav ua li cas rau nruab lub hauv paus ntseeg siab rau hauv Java cacerts Keystore

  1. Download tau daim ntawv pov thawj Thawte hauv paus los ntawm: www.thawte.com/roots.
  2. Ntshuam daim ntawv pov thawj Trusted hauv paus rau hauv koj lub cacerts keystore, siv cov lus txib nram qab no: keytool -import - trustcacerts - keystore $JAVA_HOME/ jre /lib/security/ cacerts - storepass changeit -alias Root -import -file Trustedcaroot.txt.

Ib yam li ntawd, kuv yuav nruab ib daim ntawv pov thawj SSL hauv Jira li cas? Kauj ruam 1. Tsim cov KeyStore

  1. Sau tus password.
  2. Tsim CSR rau kev kos npe, siv tus password los ntawm kauj ruam 2:
  3. Xa daim CSR mus rau CA rau kev kos npe.
  4. Ntshuam lub hauv paus thiab / lossis nruab nrab CA:
  5. Ntshuam daim ntawv pov thawj kos npe (CA muab qhov no):
  6. Xyuas kom tseeb tias daim ntawv pov thawj muaj nyob hauv KeyStore:

Ntawm no, kuv yuav import daim ntawv pov thawj siv Keytool 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.

Kuv yuav import daim ntawv pov thawj rau hauv JVM Truststore li cas?

Cov lus qhia rau kev xa daim ntawv pov thawj CA hauv paus rau hauv JVM ntseeg khw

  1. Tau txais daim ntawv pov thawj hauv paus.
  2. Hloov daim ntawv pov thawj hauv paus rau DER hom.
  3. Validate lub hauv paus daim ntawv pov thawj cov ntsiab lus.
  4. Ntshuam daim ntawv pov thawj hauv paus rau hauv JVM ntseeg khw.
  5. Xyuas kom tseeb tias lub hauv paus ntawv pov thawj tau raug imported.

Pom zoo: