Web Core Service and SSL problem
Web Core Service and SSL problem
- Subject: Web Core Service and SSL problem
- From: "Lokesha M." <email@hidden>
- Date: Thu, 20 Mar 2008 15:55:57 +0530
- Thread-topic: Web Core Service and SSL problem
Hi All
I have been using WebServicesCore framework to perform web service operations with SSL enabled server/client communications.
I have read various mailing lists and came to know that a Server certificate must be installed in the client machine inorder to make the WebserviceCore work.
So far I have tried with an approach where I have created a self assigned certificate and used for authontication, but WebServicesCore pops up the error code: errSSLUnknownRootCert = -9812, /* valid cert chain, untrusted root */
One more approach, here I downloaded the server certificate(from target printer) using the Safari application to client keychain and this too pops up an error: errSSLHostNameMismatch = -9843, /* peer host name mismatch */
This means, the Common Name field in the certificate doesn't match the hostname of the system the certificate will be used on aacording to link: http://sial.org/howto/openssl/self-signed/#s3
Why is this error? I have verified the certificate (using "openssl verify" tool) and its valid. Why frameworks puts up this error.
Is the WebServicesCore framework gives provision to use the self assigned certificates or expired certificates just like Security framework?
Is there any way to disable validation of the certificates?Or is there any other solution available?
Any help greatly appreciated.
With Regards
Lokesh
___________________________________________________________________
DISCLAIMER:
This electronic message and any attachments to this electronic message is
intended for the exclusive use of the addressee(s) named herein and may contain
legally privileged and confidential information. It is the property of Celstream
Technologies Limited. If you are not the intended recipient, you are hereby
strictly notified not to copy, forward, distribute or use this message or any
attachments thereto. If you have received this message in error, please delete
it and all copies thereof, from your system and notify the sender at Celstream
Technologies or email@hidden, immediately.
___________________________________________________________________
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden