Fix cert version

hope this wont conflict with PR for #14011 - this will fix the certificate ssl version to same as the ca (v 3)
Should be 2 - the result is version 3 .. it's used as "0x2" = 3 :)

Alex


On 7 July 2014 23:52, Thomas S Hatch <notifications@github.com> wrote:

> In salt/modules/tls.py:
>
> > @@ -770,6 +770,7 @@ def create_ca_signed_cert(ca_name, CN, days=365, cacert_path=None):
> >          log.error('Support for extensions is not available, upgrade PyOpenSSL')
> >
> >      cert = OpenSSL.crypto.X509()
> > +    cert.set_version(2)
>
> Should this be 2 or 3?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/saltstack/salt/pull/14018/files#r14627769>.
>