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: Tue, 25 Mar 2008 09:30:49 +0530
- Thread-topic: Web Core Service and SSL problem
Title: 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.
___________________________________________________________________
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden