Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
0
Question by nirvine_bns · Sep 28, 2015 at 06:36 AM · httpsssl

Does System.Web.HttpWebRequest support SNI in SSL?

I'm trying to connect to a CloudFront distribution that uses a custom domain and therefore requires SNI (Server Name Indicator) support. For unrelated reasons, I can't use Unity's built in WWW class and must use System.Web.HttpWebRequest.

(Bonus: what SSL cipher suites are supported?)

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

2 Replies

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

Answer by nirvine_bns · Sep 25, 2015 at 05:26 PM

No. Unity's .NET is Mono 2.x. SNI was added in 3.x https://bugzilla.xamarin.com/show_bug.cgi?id=11487

Ciphers supported, I can't find an official answer to, but packet capture shows these:

     TLS_RSA_WITH_AES_256_CBC_SHA (0x0035)
     TLS_RSA_WITH_AES_128_CBC_SHA (0x002f)
     TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a)
     TLS_RSA_WITH_RC4_128_SHA (0x0005)
     TLS_RSA_WITH_RC4_128_MD5 (0x0004)
     TLS_RSA_WITH_DES_CBC_SHA (0x0009)
     TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x0003)
     TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 (0x0006)
     TLS_RSA_EXPORT_WITH_DES40_CBC_SHA (0x0008)
     TLS_RSA_EXPORT1024_WITH_RC4_56_MD5 (0x0060)
     TLS_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5 (0x0061)
     TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA (0x0062)
     TLS_RSA_EXPORT1024_WITH_RC4_56_SHA (0x0064)

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
avatar image
0

Answer by AndyTehBald · Jan 03, 2017 at 10:01 PM

Google brought me here, while I was setting up a similar environment.

I note that UnityEngine.Networking.UnityWebRequest does correctly set SNI. This is confirmed by both visiting the SNI test page: https://foo.sni.velox.ch as well as successfully retrieving content from our CloudFront distribution.

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.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

HTTPS Tutorial 0 Answers

How can I add a certificate to the Mono Trust store? 1 Answer

http NotSupportedException in Web Player 1 Answer

SSL Ciphers? How to set reliable https Rest calls? 0 Answers

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges