smtp.gmail.com from bash gives "Error in certificate: Peer's certificate issuer is not recognized."
- by ndasusers
I needed my script to email admin if there is a problem, and the company only uses Gmail. Following a few posts instructions I was able to set up mailx using a .mailrc file. there was first the error of nss-config-dir I solved that by copying some .db files from a firefox directory. to ./certs and aiming to it in mailrc. A mail was sent.
However,…