fetchmailおよびSSL証明書エラー

fetchmailおよびSSL証明書エラー

Mac OS 10.6.8でメールクライアントを設定する際に問題があります。私がしたステップは次のとおりです。

# touch ~/.fetchmailrc

ファイルを編集してコンテンツを作成しました。

poll pop.gmail.com with proto POP3 and options no dns
user '[email protected]' there with password 'GMAIL_PASSWORD' is 'LOCAL_USERNAME'            
here and wants mda "/usr/bin/procmail -d %T"  options ssl keep sslcertck sslcertpath 
"/Users/LOCAL_USERNAME/.ssl/certs"  

その後、以下を実行しました。

# chmod 710 ~/.fetchmailrc

ここから証明書をコピーしました。http://af-design.com/blog/2010/04/28/using-linux-fetchmail-with-gmail/ディレクトリを入力~/.ssl/certs/し、次のコマンドを実行します。

# ls ~/.ssl/certs/

    equifax.pem    gmail.pem   imap.gmail.pem

# c_rehash ~/.ssl/certs/

これにより、ディレクトリに次のファイルが作成されます~/.ssl/certs

17974aab.0     578d5c04.0     b627f838.0     equifax.pem    gmail.pem      
imap.gmail.pem

何の苦情も受け付けなかったので、正しい選択をしたようです。最後に、次のコマンドを実行しました。

# fetchmail -v

エラーが発生しました。

fetchmail: 6.3.11 querying pop.gmail.com (protocol POP3) at Thu, 03 May 2012 16:41:02    +0200 (CEST): poll started
Trying to connect to 173.194.67.108/995...connected.
fetchmail: Server certificate verification error: unable to get local issuer certificate
fetchmail: Certificate/fingerprint verification was somehow skipped!
fetchmail: SSL connection failed.
fetchmail: socket error while fetching from [email protected]@pop.gmail.com
fetchmail: 6.3.11 querying pop.gmail.com (protocol POP3) at Thu, 03 May 2012 16:41:02 +0200 (CEST): poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2

ユーザー名の変更など、一部のフォーラムで提案された作業を行ってみましたが、役に立ちませんでした。

助けてくれてありがとう。

ベストアンサー1

~によるとこれあなたはあなたの次に行くべきです~/.ssl/certs

wget -O Equifax_Secure_Certificate_Authority.pem  https://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.cer

その後、次の行を実行する必要があります。

  c_rehash ~/.ssl/certs

それでは fechmail -vできません。サーバー証明書の確認エラーが発生しました

おすすめ記事