This usually only will happen with an invalid certificate, does the error still occur? What does the window say? Can you view the certificate?