So let me put it clear from the first line: trusting invalid certificates is wrong.
And now I will explain why it’s wrong and why there are few excuses for it.
We are talking here about certificates for SSL encryption, which serves basically two purposes:
Invalid certificates obviously defeat the second purpose of verifying the other end’s identity:
Yes, I know, it may be a little stupid renaming ld.so, can we skip this detail?
It's not something I do very often, but that day I felt like I had to innovate or something like that.
But innovation was a disaster, it is not a good idea to rename a library linked using its exact path by all system dynamic executables, just to take into account if you are going to have the same idea.