Add the cacert.pem asset and load it in Ouinet's config
This commit is contained in:
parent
d65ccc1484
commit
624e199e6b
3347
android/kotlin/app/src/main/assets/cacert.pem
Normal file
3347
android/kotlin/app/src/main/assets/cacert.pem
Normal file
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
var config = Config.ConfigBuilder(this)
|
var config = Config.ConfigBuilder(this)
|
||||||
.setCacheType("bep5-http")
|
.setCacheType("bep5-http")
|
||||||
|
.setTlsCaCertStorePath("file:///android_asset/cacert.pem")
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user