fix test condition: the connection is supposed to be a success
drop sha256-certificate test

There is not much added-value in testing every specific crypto
algorithm, this is merely an issue for underlying ssl layer.
don't strip extensions when signing

see: #2181
recreate expired certificates

see: #2181
re-enable test, now than certificate has been fixed
kill empty line