aboutsummaryrefslogtreecommitdiffstats
path: root/create-ssl-certificate
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-01-27 15:15:19 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-01-27 15:15:19 +0000
commitb230477a1cc8b1b3a148e2aa1ff9d2ebb8e0c043 (patch)
tree2a3220926e5021a10aeffc3331a77171bc33697c /create-ssl-certificate
parent50ea0b258815261582fdebd6ad40d2a4388ceb7c (diff)
downloadrpm-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-xcreate-ssl-certificate4
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