Updated load_cert to use the proper key identifier