When making HTTPS connections to a broken server you can run into trouble since the default behavior of Android is to throw **SSLException** in the first place.

So, I'm wondering is there a standard security prompt dialog that asks user to take an action on invalid certificate like the one WebView has (with 'Continue', 'View certificate' and 'Cancel' options)? 

For example BlackBerry shows such dialog automatically and waits for an action on behalf of a user before raising error. Can I do the same thing in Android?