• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by SolidSnake · Oct 03, 2012 at 03:10 PM · androidwwwhttpsssl

WWW and SSL on Android

Hi All,

Could anyone tell me if the WWW class supports HTTPs for Android with self signed SSL certificate (untrusted)? I know that there are workarounds that can be done on Android side but not sure whether we can override Unity's networking done by WWW?

Also whether anyone used WWW with a trusted SSL certificate before? I am thinking of buying one for my server if the self signed route didn't succeed.

Thanks in advance,

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by SolidSnake · Nov 05, 2012 at 12:12 PM

Just in case someone had the same question the simple answer after testing is Yes (for android 2.3 and above)

for Android 2.2 and below you will need to do a workaround by installing CA certificate in your app bundle and overriding HTTPClient.. not sure if it is possible with Unity and whether we can override WWW class implementation for android instead of doing our own implementation

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

WWW with HTTPS on Android not working 0 Answers

How to validate SSL certificate before sending data via https? 1 Answer

Unity 5.6.7 - UnityWebRequest SSL/HTTPs 2 Answers

WWW/WWWForm, does Unity validate SSL certificates? 1 Answer

Android : www.error 401 when using credentials in URL over HTTPs 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges