2017-06-12 8 views
2

私はAWSインスタンスを持っています。この証明書の有効期限は来週に失効します。 SSL用にCertbotを使用しています。 は私が走った証明書を更新するには: Certbot更新エラー - AWS EC2

./certbot-auto --force-renewal 

は、その後、私は

 - The following errors were reported by the server: 

    Domain: mydomain.com 
    Type: unauthorized 
    Detail: Incorrect validation certificate for tls-sni-01 challenge. 
    Requested 
    e1ffb2998151164f701ff76417586854.6bdc1fb9cc4424a3ecd85558d178f6e9.acme.invalid 
    from IP.00.00.00. Received 3 certificate(s), first 
    certificate had names "mydomain.com" 

    To fix these errors, please make sure that your domain name was 
    entered correctly and the DNS A record(s) for that domain 
    contain(s) the right IP address. 

私のドメイン名が正しく入力された次のエラーを得た、と私のDNSレコード(複数可)、右IPが含まれています。 (私はmydomain.com、www.mydomain.com、myOLDdomain.comのように1を3つ使用しています)。

誰かが私を助けることができます更新する

答えて

1

私は自分の証明書を更新することができました。何か私のWebディレクトリで間違っていた。

sudo ./certbot-auto certonly --expand --webroot --webroot-path /path/to/web/folder -d mydomain.com