fix(sls-logger): verify the TLS certificate of the log server (#13785)