|
@ -862,8 +862,13 @@ installcert() { |
|
|
if [ -f "$Le_RealCACertPath" ] ; then |
|
|
if [ -f "$Le_RealCACertPath" ] ; then |
|
|
cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak |
|
|
cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak |
|
|
fi |
|
|
fi |
|
|
|
|
|
if [ "$Le_RealCACertPath" == "$Le_RealCertPath" ] ; then |
|
|
|
|
|
echo "" >> "$Le_RealCACertPath" |
|
|
|
|
|
cat "$CA_CERT_PATH" >> "$Le_RealCACertPath" |
|
|
|
|
|
else |
|
|
cat "$CA_CERT_PATH" > "$Le_RealCACertPath" |
|
|
cat "$CA_CERT_PATH" > "$Le_RealCACertPath" |
|
|
fi |
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$Le_RealKeyPath" ] ; then |
|
|
if [ "$Le_RealKeyPath" ] ; then |
|
|