[Bug 1828215] Re: openssl ca -spkac output regressed
Dimitri John Ledkov
launchpad at surgut.co.uk
Mon Jun 10 17:04:24 UTC 2019
Follow roughly https://blog.felipe-alfaro.com/2005/11/18/setting-up-
certificate-authority-ca-using-openssl/ to setup CA
Generate req & spkac => however somehow my spkac only had the SPKAC=
line so I had to edit in:
countryName=AU
stateOrProvinceName=Some-State
organizationName=Internet Widgits Pty Ltd
commonName=foo
To make it a valid spkac for batch processing.
Then yeah the batch command generates binary garbage to stdout.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1828215
Title:
openssl ca -spkac output regressed
Status in OpenSSL:
Fix Released
Status in openssl package in Ubuntu:
Confirmed
Status in openssl source package in Bionic:
Confirmed
Status in openssl source package in Cosmic:
Confirmed
Status in openssl source package in Disco:
Confirmed
Status in openssl source package in Eoan:
Confirmed
Bug description:
[Impact]
* openssl command line utility option parsing has regressed in
1.1.0i+ and produces binary output, where text output is expected,
breaking applications that parse that.
[Test Case]
* OPENSSL_ENABLE_MD5_VERIFY=1 openssl ca -config test.openssl.cnf
-passin stdin -batch -spkac input_file -startdate 190121130654Z
Currently produces binary goop.
Should produce PEM format Base64 encoded certificate data in a block surrounded
with BEGIN/END certificate.
[Regression Potential]
* This is a regression in cosmic and up, and impeding regression in
bionic with the upcoming 1.1.1 SRU. A bugfix exists upstream.
[Other Info]
* Originally reported https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1797386/comments/39
To manage notifications about this bug go to:
https://bugs.launchpad.net/openssl/+bug/1828215/+subscriptions
More information about the foundations-bugs
mailing list