May I know how you fixed your problem? That helps me to put a remark in my article benefiting to other readers.
Meanwhile, I am still thinking whether this model is a good one. To certain extent I just “trick” the
cryptogen to create the certificates. See if I can find a better way, or it’s the only way to do so.