diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-01-27 15:15:19 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2008-01-27 15:15:19 +0000 |
commit | b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043 (patch) | |
tree | 2a3220926e5021a10aeffc3331a77171bc33697c /create-ssl-certificate | |
parent | 50ea0b258815261582fdebd6ad40d2a4388ceb7c (diff) | |
download | rpm-helper-b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043.tar rpm-helper-b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043.tar.gz rpm-helper-b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043.tar.bz2 rpm-helper-b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043.tar.xz rpm-helper-b230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043.zip |
use service name for certificate file, not package name
Diffstat (limited to 'create-ssl-certificate')
-rwxr-xr-x | create-ssl-certificate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/create-ssl-certificate b/create-ssl-certificate index 0e2e250..1be9435 100755 --- a/create-ssl-certificate +++ b/create-ssl-certificate @@ -34,11 +34,11 @@ if [ $num = 1 ]; then fi conffile=/tmp/$$ - keyfile=/etc/pki/tls/private/$pkg.pem + keyfile=/etc/pki/tls/private/$srv.pem if [ "$bundle" == true ]; then certfile=$keyfile else - certfile=/etc/pki/tls/certs/$pkg.pem + certfile=/etc/pki/tls/certs/$srv.pem fi # create a temporary configuration file |