[PULL 29/32] crypto: avoid loading the identity certs twice