catch the case where the certificate chain is empty (for yet unknown reasons)
Version 1.29.2