This commit contains two improvements to the existing TLS module:
Now the library ignores the fact the CA certificate can be broken (if it can't parse it for some reason, it just leaves an empty string
without a notice). From now we raise an error in this case.
It tries to prevent some obvious formatting errors in the certificate like leading and trailing spaces, additional new lines etc.
This commit contains two improvements to the existing TLS module:
Now the library ignores the fact the CA certificate can be broken (if it can't parse it for some reason, it just leaves an empty string without a notice). From now we raise an error in this case.
It tries to prevent some obvious formatting errors in the certificate like leading and trailing spaces, additional new lines etc.