Closed GoogleCodeExporter closed 9 years ago
We support only public certificate.
See also GSMA 1.2 spec: "it is encouraged to use public root certificates
issued by a recognized CA (similar to those used by standard webservers which
are widely recognized by browsers and web-runtime implementations both in PCs
and handsets)".
Original comment by jmauffret@gmail.com
on 11 Jun 2012 at 6:14
Sure, we should use CA certificate, so the client should only trust the server
with a CA certificate. But it seems that certificates[0].checkValidity() did
not work correctly. Even the certificate is self-signed, but no exception
occurs. Detail code as bellowing,
public void checkServerTrusted( X509Certificate[] certificates, String authType
)
throws CertificateException
{
if ( ( certificates != null ) && ( certificates.length == 1 ) )
{
certificates[0].checkValidity();
}
else
{
//standardTrustManager.checkServerTrusted( certificates, authType );
}
}
Original comment by fredhu...@gmail.com
on 12 Jun 2012 at 1:02
Original issue reported on code.google.com by
fredhu...@gmail.com
on 11 Jun 2012 at 6:09