Sort certificates by AKI/SKI to form a valid chain. Starting from a leaf certificate, builds the chain by matching each certificate's AKI with the next certificate's SKI.
Sort certificates by AKI/SKI to form a valid chain. Starting from a leaf certificate, builds the chain by matching each certificate's AKI with the next certificate's SKI.