spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
474 stars 237 forks source link

No function for setting the x509 certificate version #60

Closed sgallagher closed 7 years ago

sgallagher commented 8 years ago

I'm trying to use this wrapper to generate x509v3 certificates (with v3-specific extensions), however I'm getting output of x509v1. The underlying openssl code has a function set_version() that would enable me to specify that the certificates should be x509v3, but it is not exposed in this module.

zeebo commented 7 years ago

Closing this in favor of #61 tracking the issue.