"Certificate not found with AKI 'e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011' and serial '2579edfb30a98bc8200916a7898f0de00280865', remote code: 20, remote msg: Authorization failure"
Suggests that the CA didn't find the certificate that you gave it (from the admin).
If you are enrolling the admin with the CA to get fresh certificates this should solve your issue.
It seems that you may be using old certificates stored in your KVS store file that pertains to the prior network. This problem is simply caused by you restarting a fresh network and keeping the prior KVS, thus when you run your code, it checks if the user is stored and uses those credentials instead of getting new ones. Always remember to delete your kvs when restarting your network.