gmail, mutt i msmtp fix
Jeśli korzystasz z mutt i SMTP dostęp do Gmaila. Oto (zła) wiadomość. Fajne chłopaki w Google ponownie zmienił certyfikat. Och, nie pytasz - jak to znamy? Proste mutt zaczęła narzekać na złe świadectwo, gdy próbuje użyć msmpt, Infamous strony 'msmtp: weryfikacja certyfikatu TLS nie powiodło się:. Certyfikat nie ma znanego wystawcy " powitał mnie na ekranie.
Aby przejść potwierdzić -
Wystarczy uruchomić po
$ msmtp --serverinfo --host=smtp.gmail.com --tls=on --port=587 --tls-certcheck=off
W miejsce starego serwera Thwate teraz dostaniesz po w segmencie emitenta
Issuer:
Common Name: Google Internet Authority
Organization: Google Inc
Country: US
Na szczęście jest prosta, oto co trzeba zrobić na Debianie
# apt-get install ca-certificates
# dpkg -s ca-certificates|grep Version
Version: 20090814
Po prostu zmień następującą linię w tobie ~~~V /. Msmtprc
tls_trust_file /certs/Thawte SSLWeb Server Roots/thawte Premium Server CA/Thawte Premium Server CA.pem
tls_trust_file /certs/Thawte SSLWeb Server Roots/thawte Premium Server CA/Thawte Premium Server CA.pem
do
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt



































