开发者

Android, GTE Cybertrust Root and the Keystore

开发者 https://www.devze.com 2023-02-20 01:40 出处:网络
Im seeing some strangeness with the GTE CyberTrust Global Root on android 2.1 and 2.2. If i add the cert using the CertificateInstaller from a WebView it claims the cert is a \'user certificate\' and

Im seeing some strangeness with the GTE CyberTrust Global Root on android 2.1 and 2.2.

If i add the cert using the CertificateInstaller from a WebView it claims the cert is a 'user certificate' and puts it in the user store:

From the android source i can see: cert location = KEYSTORE_SPACE + Credentials.USER_CERTIFICATE

If i add a self signed CA cert it adds it to the correct store: cert location = KEYSTORE_SPACE + Credentials.CA_CERTIFICATE

So, im using ca_cert from wifiManager for EAP wireless auth source:

public EnterpriseField ca_cert = new EnterpriseField("ca_cert");

If i set it to "keystore://开发者_运维问答CACERT_gteCert" it fails.

If i set it to "keystore://USRCERT_getCert" is works.

Any ideas on this behavior?

Its going to make programming a wpa_supplicant configuration app for non rooted devices difficult. Im hoping i misunderstand something?

0

精彩评论

暂无评论...
验证码 换一张
取 消