Implemented the new PKI infrastructure and optimized the Certificate chain validation.