test certificate with weak key, other issues