Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:30:55+00:00 2026-06-12T14:30:55+00:00

This is my first post at stackoverflow.com, so if i do something wrong just

  • 0

This is my first post at stackoverflow.com, so if i do something wrong just let me know. So onto the problem.

I have a C# server currently running System.Net.Socket Sockets similar to the sample code Microsoft provided here.

I also have an Objective-C iPad client running NSInputStream/NSOutputStream bound to CFReadStream/CFWriteStream.

At present with only username/password authentication sent via an XML Serialized Object the client and server can communicate without any issues.

The problem I now have is that the communication has to be secure, and talking to clients, SSL encryption would be acceptable. However, I don’t think they would accept just the “Server Certificate” as good enough. So I am trying to get the iPad client to use a “Client Certificate”. I would like to enable true mutual authentication.

If I can’t achieve mutual authentication, a third party VPN Software could be the better solution to secure the communication.

I haven’t completed the conversion yet, but I have found a few articles that give me good examples of this, but there are no examples that fit my situation for client side certificates on the iPad.
The samples that i have found are:

C# SSL Tcp Server

Apple Developer site that shows how to use SSL, but no client certificate

iPad SSL Stream without client certificate.

iPad SSL Stream without client certificate

iPad HTTP Client that uses client certificate

Basically the system must eventually run TCP communication with SSL embedded with the ability to manage certificates. Not sure if it makes a difference, but as this would be going to many different clients, it is preferable to be compatible with SSL 3.0 and TLS(any version).

As I have only been dabbling in Objective-C for the past 6 months and am more familiar with C#, I will probably need you to explain your answer in simpler terms.

Edit:
I am more concerned with the Objective-C side of the equation, as I am fairly sure the C# side will be simple. Basically I need someone to explain how to implement client side certificates on a TCP NSStream in Objective-C or point me in the direction of possible solutions or approaches to the problem.

Any help will be greatly appreciated.

Chris

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:30:56+00:00Added an answer on June 12, 2026 at 2:30 pm

    I cannot answer your question with regards to how to implement this on the objective-c side as what you ask is beyond what a single application can achieve on IOS devices. Thinking outside the box..

    From Apple:

    iOS supports the Simple Certificate Enrollment Protocol (SCEP). SCEP
    is an Internet draft in the IETF, and is designed to provide a
    simplified way of handling certificate distribution for large-scale
    deployments. This enables over-the-air enrollment of identity
    certificates to iPhone and iPad that can be used for authentication to
    corporate services.

    Knowing this and searching for SCEP in the developer library points me to this page – https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html

    This page will be of interest, notice that Microsoft Server supports this:-
    https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/OTASecurity/OTASecurity.html#//apple_ref/doc/uid/TP40009505-CH3-SW1 and it even has some sample client/server code.

    My interest is generally in the field of Mobile-Device-Management and have been looking into this.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first post on stackoverflow, so feel free let me know if
This is my first post here. I have a problem. I need to take
Found this related post, https://stackoverflow.com/questions/7139/should-a-first-release-be-an-0-1-version-or-1-0b , but it is not about Ruby Gems. I
This is my first post on stackoverflow.com so I will try to be straightforward.
I have seen this post here (http://stackoverflow.com/questions/151777/how-do-i-save-an-android-applications-state). I am having a similar problem I
This is my first post and I have the feeling that this is something
This is my first post on stackoverflow.com so please be kind (rewind) ;) I
This is my first post on stackoverflow, so please excuse me if my question
This is my first post in stackoverflow. I want to improve its google pagerank
this is my first post here on stackoverflow and am very impressed by the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.