openssl/apps
Hugo Landau df5c86e9f8 Enable openssl req -x509 to create certificates from CSRs
`openssl req -x509` has code allowing it to generate certificates from CSRs
as a replacement for `openssl x509`, but a bug prevents it from working
properly. -CA and -CAkey can now be passed to generate a CA-signed
certificate as documented in openssl-req(1).

Regression testing has been added to `openssl req`.

Fixes #17736.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17782)
2022-03-03 10:21:51 +01:00
..
demoSRP
include Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
lib Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
asn1parse.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
build.info
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
CA.pl.in
cert.pem
ciphers.c Ensure ciphers command honours -propquery 2022-01-27 16:28:13 +00:00
client.pem
cmp.c apps/cmp.c: fix coding style nits reported by check-format.pl 2022-01-07 10:42:44 +01:00
cms.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
crl2pkcs7.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
crl.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
ct_log_list.cnf
dgst.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
dhparam.c Add -verbose/-queit flags to dhparam 2022-01-28 15:24:41 +01:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
dsap.pem
dsaparam.c Add -verbose/-queit flags to dhparam 2022-01-28 15:24:41 +01:00
ec.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
ecparam.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
enc.c enc : add support for wrap mode 2022-02-18 15:04:28 +11:00
engine.c
errstr.c
fipsinstall.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
gendsa.c Add -verbose/-queit flags to dhparam 2022-01-28 15:24:41 +01:00
genpkey.c Add -verbose/-queit flags to dhparam 2022-01-28 15:24:41 +01:00
genrsa.c Add -verbose/-queit flags to dhparam 2022-01-28 15:24:41 +01:00
info.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
insta.ca.crt
kdf.c
list.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
mac.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
nseq.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
ocsp.c apps/ocsp: Add check for OPENSSL_strdup 2022-02-17 11:23:03 +01:00
openssl-vms.cnf
openssl.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
openssl.cnf
passwd.c apps/passwd.c: free before error exiting 2022-01-05 10:02:02 +01:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Add -quiet option to pkcs7 for -print_certs 2022-02-24 11:21:06 +11:00
pkcs8.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
pkcs12.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
pkey.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
pkeyparam.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
pkeyutl.c pkeyutl: Fix regression with -kdflen option 2022-01-12 12:17:34 +11:00
prime.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
privkey.pem
progs.pl apps/progs.pl: use SOURCE_DATE_EPOCH if defined for copyright year 2022-02-02 14:02:09 +11:00
rand.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
rehash.c openssl rehash: add check for OPENSSL_strdup 2022-02-14 10:03:42 +01:00
req.c Enable openssl req -x509 to create certificates from CSRs 2022-03-03 10:21:51 +01:00
req.pem
rsa8192.pem
rsa.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
rsautl.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c check the return value of CRYPTO_strdup() 2022-02-28 19:26:49 +11:00
s_server.c apps/s_server: Add missing check for BIO_new 2022-02-17 13:01:42 +01:00
s_time.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
server2.pem
server.pem
server.srl
sess_id.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
smime.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
speed.c Added checking for buflen overflow due to MAX_MISALIGNMENT. 2022-02-11 13:42:36 +11:00
spkac.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
srp.c
storeutl.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c APPS: Add check for multiple 'unknown' options 2022-01-11 12:45:33 +01:00
tsget.in
verify.c Fix: some patches related to error exiting 2022-01-07 21:11:37 +11:00
version.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
vms_decc_init.c
x509.c Send auxiliary messages to bio_err. 2022-02-09 10:37:19 +11:00