diff options
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 |