LawsHosting
Verified User
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.
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.
Attachments
Last edited: