• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to register a client cert for use with a specific SSL server?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to register a client cert for use with a specific SSL server?


  • Subject: Re: How to register a client cert for use with a specific SSL server?
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Fri, 27 Jul 2012 11:28:55 +0100

On 26 Jul 2012, at 23:02, Jens Alfke wrote:

> It seems like this should be possible, since NSURLCredentialStore can be use to register a traditional username/password credential for a particular server, such that the delegate doesn't have to look it up. But this doesn't seem to work if you try to register a client-cert credential instead — the delegate gets called anyway.

The credential store is a red herring; it only applies to user name and password based credentials, not client identities.  See the discussion of <rdar://problem/7492576> in the AdvancedURLConnections sample code.

<http://developer.apple.com/library/ios/#samplecode/AdvancedURLConnections/Listings/Read_Me_About_AdvancedURLConnections_txt.html#//apple_ref/doc/uid/DTS40009558-Read_Me_About_AdvancedURLConnections_txt-DontLinkElementID_24>

Also, be aware that the identity preference mechanism described by Ken is for Mac OS X only; iOS doesn't have this facility and you always have to deal with delegate callbacks.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to register a client cert for use with a specific SSL server?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: How to register a client cert for use with a specific SSL server?
  • Next by Date: Re: How to register a client cert for use with a specific SSL server?
  • Previous by thread: Re: How to register a client cert for use with a specific SSL server?
  • Next by thread: Re: How to register a client cert for use with a specific SSL server?
  • Index(es):
    • Date
    • Thread