具有相同域的Certbot 2证书

时间:2018-11-06 11:18:30

标签: apache ubuntu certbot

我使用LetsEncrypt为DigitalOcean Ubuntu小滴上的站点设置SSL证书。 该证书用于domain.co.uk,然后添加了www。和myhost。所以现在我似乎有2个证书:

 Certificate Name: domain.co.uk-0001
    Domains: domain.co.uk
    Expiry Date: 2019-01-23 22:56:23+00:00 (VALID: 78 days)
    Certificate Path: /etc/letsencrypt/live/domain.co.uk-0001/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/domain.co.uk-0001/privkey.pem
  Certificate Name: domain.co.uk
    Domains: domain.co.uk myhost.domain.co.uk www.domain.co.uk
    Expiry Date: 2018-11-24 09:46:41+00:00 (VALID: 17 days)
    Certificate Path: /etc/letsencrypt/live/domain.co.uk/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/domain.co.uk/privkey.pem

我无法在https上使用www或myhost,但出现此错误:“证书中的通用名称都不匹配输入的名称”。因此,我假设第一个(domain.co.uk-0001)证书正在提供,而不是第二个。 我该如何解决-我应该尝试删除第一个证书吗? 谢谢。

0 个答案:

没有答案