镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Domains under new gTLDs such as as .blog are rejected with "invalid domain" error #48

Open

Description

@ahmetcuneydioglu

I performed all the steps in the documentation. I received a CA certificate for the application and included it in the application with custom SSLSocketFactory. However, I always get this error "Tried to pin unvalid domain". Where am I making a mistake?

network_security_config.xml

https://paste.ee/p/Hrj3E


CategoryFragment.java

https://paste.ee/p/Cd4To


MyApplication.java (only added TrustKit.initializeWithNetworkSecurityConfiguration(this);)

https://paste.ee/p/kx8Vo


and MyCustomSSLFactory.java

https://paste.ee/p/nlDhn

Activity

  1. changed the title [-]Error: Tried pin to invalid domain. (AsyncHttpClient)[/-] [+]Domains under new gTLDs such as as .blog are rejected with "invalid domain"[/+] on Mar 13, 2019
  2. changed the title [-]Domains under new gTLDs such as as .blog are rejected with "invalid domain"[/-] [+]Domains under new gTLDs such as as .blog are rejected with "invalid domain" error[/+] on Mar 13, 2019
  3. added 2 commits that reference this issue on Mar 17, 2019
  4. added this to the 1.2.0 milestone on Mar 17, 2019
  5. self-assigned this
    on Mar 17, 2019
  6. nabla-c0d3 commented on Mar 18, 2019

    @nabla-c0d3
    Member

    Fixing this will require using "org.mozilla.components:lib-publicsuffixlist" but this library requires a minSdk of 21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions