diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-08-24 23:24:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-08-24 23:24:18 +0000 |
commit | d428bf8c568c617bb3c3bd0ac3b326298e7b34b9 (patch) | |
tree | b2941d622c7d4dbd526afa82a9308016a04321fe /apps/CA.pl.in | |
parent | d096b524afbdc371032d96d22f1686d88bfba0e9 (diff) | |
download | openssl-d428bf8c568c617bb3c3bd0ac3b326298e7b34b9.tar.gz |
New option to CA.pl to sign request using CA extensions.
This allows intermediate CAs to be created more easily.
PKCS12_create() now checks private key matches certificate.
Fix typo in x509 app.
Update docs.
New function ASN1_STRING_to_UTF8() converts any ASN1_STRING
type to UTF8.
Diffstat (limited to 'apps/CA.pl.in')
-rw-r--r-- | apps/CA.pl.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in index 4eef57e6e3..7781067d6a 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -116,6 +116,11 @@ foreach (@ARGV) { "-infiles newreq.pem"); $RET=$?; print "Signed certificate is in newcert.pem\n"; + } elsif (/^(-signCA)$/) { + system ("$CA -policy policy_anything -out newcert.pem " . + "-extensions v3_ca -infiles newreq.pem"); + $RET=$?; + print "Signed CA certificate is in newcert.pem\n"; } elsif (/^-signcert$/) { system ("$X509 -x509toreq -in newreq.pem -signkey newreq.pem " . "-out tmp.pem"); |