nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
50 stars 42 forks source link

WildCard Subdomain Verify #14

Open kentplaza opened 7 years ago

kentplaza commented 7 years ago

Do this plugin allow wildcard subdomain verification?

I have wildcard SSL Certificate (*.mydomain.com) and imported into App Service.

Can I declare wildcard domain in host paramater as below? or use naked domain?

Https.enableSSLPinning({ host: '*.mydomain.com', certificate }) or
Https.enableSSLPinning({ host: 'mydomain.com', certificate })
roblav96 commented 7 years ago

@kentplaza currently no you can not use wildcards =/

kentplaza commented 7 years ago

@roblav96 Got it. This is restriction of this plugin or Restriction from AFNetworking/okhttp3 Lib?

pacome2017 commented 6 years ago

I'm also curious to know where does this restriction comes from ? How can we solve this issue ?