Skip navigation.
 
mlNSURLConnection SSL connection with expired cert.
FROM : Dave Hersey
DATE : Mon Mar 03 22:08:17 2008

Is there a way to get NSURLConnection to connect to an SSL server that 
has an expired certificate? I'm looking for a way to warn the user 
about the certificate and then allow them to connect anyway if they 
wanted, similar to how web browsers behave. It appears that I only 
find out about the certificate once the connection has failed (and 
been shutdown) with connection:didFailWithError.

If this can't be handled by NSURLConnection, is there a way to do it 
with CFNetwork?

Thanks,

- d

Related mailsAuthorDate
mlNSURLConnection SSL connection with expired cert. Dave Hersey Mar 3, 22:08
mlRe: NSURLConnection SSL connection with expired cert. Jens Alfke Mar 3, 23:14
mlRe: NSURLConnection SSL connection with expired cert. Nick Zitzmann Mar 3, 23:47
mlRe: NSURLConnection SSL connection with expired cert. Marcel Borsten Mar 4, 07:13
mlRe: NSURLConnection SSL connection with expired cert. Jens Alfke Mar 4, 17:11