diff options
author | Joe Orton <jorton@redhat.com> | 2017-09-22 08:05:04 +0100 |
---|---|---|
committer | Joe Orton <jorton@redhat.com> | 2017-09-22 08:05:04 +0100 |
commit | 5ec11c5a4f6d836c41d6b4e4928531723dc87139 (patch) | |
tree | a088e652f1f9f96dd9edc1ef493220e867a8099a /httpd-ssl-gencerts | |
parent | ad89c85e8be4a29f009ef87d7bad9f15c3008202 (diff) | |
parent | d614e8aa11f9520416f7ef10f93a29670efe1505 (diff) | |
download | httpd-5ec11c5a4f6d836c41d6b4e4928531723dc87139.tar.gz httpd-5ec11c5a4f6d836c41d6b4e4928531723dc87139.tar.xz httpd-5ec11c5a4f6d836c41d6b4e4928531723dc87139.zip |
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/httpd
Diffstat (limited to 'httpd-ssl-gencerts')
-rwxr-xr-x | httpd-ssl-gencerts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/httpd-ssl-gencerts b/httpd-ssl-gencerts index 67b6d9a..371a838 100755 --- a/httpd-ssl-gencerts +++ b/httpd-ssl-gencerts @@ -5,18 +5,15 @@ set -e FQDN=`hostname` if test -f /etc/pki/tls/certs/localhost.crt -o \ - -f /etc/pki/tls/private/localhost.key -o \ - -f /etc/pki/tls/certs/localhost-ca.crt; then + -f /etc/pki/tls/private/localhost.key; then exit 1 fi sscg -q \ --cert-file /etc/pki/tls/certs/localhost.crt \ --cert-key-file /etc/pki/tls/private/localhost.key \ - --ca-file /etc/pki/tls/certs/localhost-ca.crt \ + --ca-file /etc/pki/tls/certs/localhost.crt \ --lifetime 365 \ --hostname $FQDN \ --email root@$FQDN -# mod_ssl will send the CA cert if it's appended to the server cert. -cat /etc/pki/tls/certs/localhost-ca.crt >> /etc/pki/tls/certs/localhost.crt |