ASP .Net Core with Kestrel implement SSL

帅比萌擦擦* 提交于 2020-01-03 04:57:11

问题


i'm facing problem when implementing ssl to my web. My web work as web services for android and ios. All goes very smooth until i implement the SSL certificates, suddenly the android (most of android except samsung) throw this error :

E/ErrorHTTP: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

then i google and landed to here :

  1. google says about the error
  2. support the google statement
  3. work around for the error to accept the not valid ssl

it says that mostly happened because of :

  1. The CA that issued the server certificate was unknown

  2. The server certificate wasn't signed by a CA, but was self signed

  3. The server configuration is missing an intermediate CA

Those three options already ruled out, i already check with ssl checker. Its none of those above, it's not unknown, it's not self signed, we're using comodo and the intermediates and root certificates also valid, you can check here : ssl checker for my link, you can check it by yourself.

And now i'm stuck, the certificate is valid. The certificate also can open in samsung, but somehow fail in some other brand, for example xiao mi. I don't know where to look now, is it the :

  1. the ssl configuration, i need to keep digging, even though it marked as valid in most validator.
  2. make the android code more vulnerable, even some brand can access it, i mean is it because the brand or how ?.

The spec im using :

  1. ASP .Net Core 2.0.

  2. Kestrel.

  3. Comodo certificates.

  4. Native android.

Please help !, thank you.

来源:https://stackoverflow.com/questions/48426351/asp-net-core-with-kestrel-implement-ssl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!