Don't modify the original server certificate.
Don't modify the original server certificate.

In imitateCertificate, I was clearing some parts of the certificate that
I didn't want to copy. This was causing problems when I wanted to use
the certificate later on. When I wanted to try to validate the
certificate again, it failed validation because the SignatureAlgorithm
was zero.

unixabg/redwood,andybalholm/redwood,andybalholm/redwood,unixabg/redwood