Merge pull request #4207 from misch7/fix-v2.7-issue-4206

Fix build of 2.7 with MBEDTLS_CERTS_C disabled in config (fixes #4206)