When caching certificates it is currently not possible to provide required intermediary certificates to the library.
Currently, the first verification process of a certificate+intermediary will validate successfully, however when the cache process provides the cert+intermediary the validation will fail. This patch ensures the cache callback is able to provide required intermediary certificates to the library.
When caching certificates it is currently not possible to provide required intermediary certificates to the library.
Currently, the first verification process of a certificate+intermediary will validate successfully, however when the cache process provides the cert+intermediary the validation will fail. This patch ensures the cache callback is able to provide required intermediary certificates to the library.