TLS: Fix missing optional intermediate cert error