I've completely rewritten gencert.sh (originally "developed" for the mdk distro). Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 55056 [details] improved gencert.sh
in tree for 2.2.27, thanks Christian.