Took me a while but, in the end, I discovered the problem.
Simply I wasn't changing the certificate serial number when I was signing them.
"Bad Certificate" error is a little too generic to understand such things ;)
Simply I wasn't changing the certificate serial number when I was signing them.
"Bad Certificate" error is a little too generic to understand such things ;)