For testing I would build a virtual mashine with a second nethserver installation. So you can do a snapshot, start your tests and if it doesn’t work go back to the point before your test.
It’s not a howto, but please have a look at the link Collabora Online in Nethserver-Nextcloud Alessio has posted. At message 22 and 23 are solutions for certificate problems. Perhap it helps.