I am thinking of writing an Apple Push Notification server using Dart. Does Dart support client side SSL/TLS certificates?
Asked
Active
Viewed 1,433 times
2 Answers
2
Yes! Dart VM now supports SSL/TLS, and HTTPS.
See http://code.google.com/p/dart/issues/detail?id=3950 and http://code.google.com/p/dart/issues/detail?id=3593 which are now closed. :)

Seth Ladd
- 112,095
- 66
- 196
- 279
1
Dart supports SSL/TLS client connections using SecureSocket. It also supports secure server sockets using SecureServerSocket to (use this if you need to listen on a secure port on the VM).
Note that the ordinary HttpClient will automatically handle HTTPS for your browser connections so no extra code is needed in these cases.

Lars Tackmann
- 20,275
- 13
- 66
- 83
-
1I need socket level TLS with a client side certificate opening the connection and not a https socket. Thanks anyway. I will file a bug. – mobilecatshow Jun 04 '12 at 15:54
-
Nice, please post the bug so I can star it. Need the same functionality – Lars Tackmann Jun 04 '12 at 17:04
-
1The Dart VM now supports SSL/TLS! Woohoo! – Seth Ladd Dec 08 '12 at 23:44