Fix genkey to output CSRs, certs and keys in ascii PEM format (#526720)
This commit is contained in:
parent
65c1a614f0
commit
7245f960f1
|
@ -4,7 +4,7 @@
|
|||
Summary: SSL certificate and key management utilities
|
||||
Name: crypto-utils
|
||||
Version: 2.4.1
|
||||
Release: 22
|
||||
Release: 23
|
||||
Source: crypto-rand-%{crver}.tar.gz
|
||||
Source1: genkey.pl
|
||||
Source2: certwatch.c
|
||||
|
@ -131,6 +131,9 @@ chmod -R u+w $RPM_BUILD_ROOT
|
|||
%{perl_vendorarch}/auto/Crypt
|
||||
|
||||
%changelog
|
||||
* Thu Oct 01 2009 Elio Maldonado<emaldona@redhat.com> - 2.4.1-23
|
||||
- Fix genkey to produce CSRs, certs, and key in ascii PEM format (#526720)
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
|
@ -1086,7 +1086,8 @@ sub genRequestOpenSSL
|
|||
my $args = "-c genreq ";
|
||||
$args .= "-g $bits ";
|
||||
$args .= "-s $subject ";
|
||||
$args .= "-v $months ";
|
||||
$args .= "-v $months ";
|
||||
$args .= "-a "; ## using ascii
|
||||
$args .= "-o $csrfile ";
|
||||
$args .= "-k $keyfile ";
|
||||
$args .= "-e $keyEncPassword " if $keyEncPassword;
|
||||
|
@ -1166,6 +1167,7 @@ sub renewCertOpenSSL
|
|||
# This is a request where we reuse the existing key pair
|
||||
|
||||
my $args = "--command genreq ";
|
||||
$args .= "--ascii "; ## using ascii
|
||||
$args .= "--renew $certfile ";
|
||||
$args .= "--input $keyfile ";
|
||||
$args .= "--cacert " if $cacert;
|
||||
|
|
Loading…
Reference in New Issue