Wrong version of keystore on android call

前端 未结 6 829
一向
一向 2020-11-28 06:55

I want to make a https request.

I use bouncycastle to generate the keystore like this :

keytool -importcert -trustcacerts -alias ludevCA -file lu_de         


        
6条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 07:09

    Have a Look on it Android: Trusting SSL certificates

      -storetype BKS
      -provider org.bouncycastle.jce.provider.BouncyCastleProvider
      -providerpath /path/to/bouncycastle.jar
    

    And use this version when creating your keystore: Version 1.46 found here

    May it Helps...

提交回复
热议问题