FR: letsencrypt.sh & webmin & hostname

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,417
Location
London UK
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.
 

Attachments

Last edited:
Back
Top