Skip to content

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

@ahmetcuneydioglu

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions