-
Re: Can I get certificate from General?
eskimo Nov 25, 2016 1:56 PM (in response to Honda_MW)What platform are you working on? When you say “downloaded in the terminal”, does that mean the Terminal utility on macOS? If so, what commands are you running to download this certificate?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Can I get certificate from General?
Honda_MW Nov 28, 2016 5:35 PM (in response to eskimo)The platform is iOS.I want to perform SSL communication with a server using a self-signed certificate.
I installed root certificate and client certificate on iPhone using iPhone configuration utility.
Is there a way to access that certificate from my application?
-
Re: Can I get certificate from General?
eskimo Nov 29, 2016 12:57 AM (in response to Honda_MW)I installed root certificate and client certificate on iPhone using iPhone configuration utility. Is there a way to access that certificate from my application?
It depends on the type of ‘certificate’:
If you install a root certificate on the device, it will automatically be used by trust objects (SecTrust) throughout the OS. It’s possible to get at the root certificate via one of those trust objects, but in most cases you don’t need to do that because having the trust object use those installed roots is sufficient.
A client certificate (which is actually a digital identity, that is, the combination of a certificate and the private key that matches the public key in that certificate) is stored in the Apple ‘slice’ of the keychain, and thus is only available to Apple apps. This is discussed in QA1745 Making Certificates and Keys Available To Your App.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Can I get certificate from General?
Honda_MW Dec 1, 2016 10:13 PM (in response to eskimo)I understood. Thank you very much.
-
-