fix certify key resource