After updating LDAP to LDAPS with TLS backup causes internal error

i was able to create a share on the linux machine that runs this docker container and store the cert there and this has resolved the issue with reboots. lets hope it works for updates as well ill know for sure when nextcloud does an update.