Fix Pegasus service regenerates SSL certificates on every start

This commit is contained in:
Vitezslav Crhonek 2014-08-12 12:40:10 +02:00
parent 466e8d3175
commit cdf8bccb44
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
cd /etc/Pegasus
if [ ! -e /etc/Pegasus/ssl.cnf ] || [ ! -e /etc/Pegasus/server.pem ] ||
if [ ! -e /etc/Pegasus/ssl-ca.cnf ] || [ ! -e /etc/Pegasus/ssl-service.cnf] || [ ! -e /etc/Pegasus/server.pem ] ||
[ ! -e /etc/Pegasus/file.pem ] || [ ! -e /etc/Pegasus/client.pem ]; then
if [ -x /usr/share/Pegasus/scripts/genOpenPegasusSSLCerts ]; then
# Create self-signed certificates for initial usage

View File

@ -8,7 +8,7 @@
Name: tog-pegasus
Version: %{major_ver}.0
Release: 15%{?dist}
Release: 16%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
@ -511,6 +511,10 @@ fi
%changelog
* Tue Aug 12 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-16
- Fix Pegasus service regenerates SSL certificates on every start
Resolves: #1126871
* Tue Aug 05 2014 Michal Minar <miminar@redhat.com> - 2:2.13.0-15
- Fixed wrong instances from CIMOM callback
Resolves: #1038013