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

  • Home
  • SEARCH
  • 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 6669573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:09:57+00:00 2026-05-26T03:09:57+00:00

I wanted to know where exactly in xcode do I place a x.509 certificate

  • 0

I wanted to know where exactly in xcode do I place a x.509 certificate that I have. Taking the example from here:
http://code.google.com/p/cocoaasyncsocket/downloads/detail?name=CertTest.zip&can=1&q=

I wanted to be able to communicate with a secure server I have running. I just cant seem to add the certificate in and everytime I do, my mac opens up a keychain window asking m if the certificate belongs to any of my system (other than my project) settings. So I wanted to know where do I place it in my project and how I would use it(I guess the project at the link would help with that)

  • 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-05-26T03:09:58+00:00Added an answer on May 26, 2026 at 3:09 am

    If you are using NSURLConnection for connecting to your server then you should implement next methods in your delegate:

    - (BOOL)connection:(NSURLConnection *)conn canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace;
    // A delegate method called by the NSURLConnection when something happens with the 
    // connection security-wise.  We defer all of the logic for how to handle this to 
    // the ChallengeHandler module (and it's very custom subclasses).
    
    
    - (void)connection:(NSURLConnection *)conn didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
    // A delegate method called by the NSURLConnection when you accept a specific 
    // authentication challenge by returning YES from -connection:canAuthenticateAgainstProtectionSpace:. 
    // Again, most of the logic has been shuffled off to the ChallengeHandler module; the only 
    // policy decision we make here is that, if the challenge handle doesn't get it right in 5 tries, 
    // we bail out.
    

    I advice you to look through this sample by Apple: Advanced Url Connections

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

Sidebar

Related Questions

I saw the code written somewhere online, and I wanted to know what exactly
Wanted to know if someone had a suggestion on code or maybe there's a
I wanted to know if anyone here knows how to import a 3D Object
I am a new-bee to MySQL cluster and wanted to know where exactly the
I have a file shredder on my computer, and I wanted to know if
I know that there is a post similar to this : here . I
I wanted to know what exactly is run time environment at system level(operating system).
Another newbie question. I just wanted to know what exactly is the difference between
I wanted to know the command which is exactly equal to php require in
I basically wanted to know what exactly a virtual processor is. At IBM's site

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.