extensions aren't supported in v1, set to v3 (value=2) if using them.

Generated dummy certificates are (technically) incorrect, even though many tools accept them, but e.g. Java will refuse to parse them. Extensions are supported in x509v3, so in case they are used, this will set the certificate version number appropriately.