Hello, I just upgraded to 6.10-rc2 and I have a custom SSL cert that keeps getting replaced. The problem is that domain names are not case sensitive, while the code checking them doesn't take that into account. As such, I recommend the following line 355 of /etc/rc.d/rc.nginx:
[[ $SUBJECT != $LANFQDN ]] && rm -f $SSL/certs/${LANNAME}_unraid_bundle.pem
Be changed to the following:
[[ ${SUBJECT,,} != ${LANFQDN,,} ]] && rm -f $SSL/certs/${LANNAME}_unraid_bundle.pem
This will not cause the cert to be deleted in the case that the Server's name is MySErVeR.domain.tld and the cert is for myserver.domain.tld
- 2
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.