Hi Mike, which build of WebTest do you use? Actually I would expect WebTest to throw an exception saying that the certificate is not valid. expectDialog can't help in this case. Marc. -- View this message in context: http://www.nabble.com/How-should-webtest-handle-this-scenario%3A-t1539252.html#a4205123 Sent from the WebTest forum at Nabble.com.