Would it be possible to add a line below to combine the key and cert eg.
cat ${APACHECERT} ${APACHECERT} > ${APACHECERTCOMBINED}
cat ${APACHEKEY} ${APACHECERT} > ${APACHEWEBMINCOMBINED}
&
cat ${NGINXCERT} ${NGINXCERT} > ${NGINXCERTCOMBINED}
cat ${NGINKEY} ${NGINXCERT} > ${NGINXWEBMINCOMBINED}
but only when the hostname is appended to the script.
Nb. I know we can use our custom directory, but it's only ~5 lines being added and edited.
Would be useful for us who use webmin.
EDIT: I've attached my modified script, it should work. If anyone has webmin, please test it.
DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال میکنید
برچسب: نویسنده: ایمان اصلاحی بازدید: 385 تاريخ: شنبه 20 خرداد 1396 ساعت: 10:36