Use the certificateChain() in the SSL error dialog

This includes the self-signed certificate anyway, and the previous
behavior led to funny side-effects.