Explicitly set the version to X.509v3
Explicitly set the version to X.509v3

As extensions are now included in the certificate, explicitly indicate
that it is a v3 certificate and not a v1 certificate (v1/v2 does not
include extensions).

Note that because X.509 is 0-based for the version, set_version(2)
indicates V3 certificates.

chromium/web-page-replay,chromium/web-page-replay