我是网络新手,我需要在负载均衡器中添加SSL证书。为此,我使用Certbot。
说明:
基本上,它说要使用SSH登录到服务器,然后安装certbot。
然后,运行以下命令
sudo certbot certonly --standalone
它告诉我暂时停止我的web服务器以获得证书,所以我运行了:
sudo service ssh stop
运行certbot命令后,将得到以下错误:
Could not bind TCP port 80 because it is already in use by another process on
this system (such as a web
在更新通配符-letsencrypt证书时,您被要求在继续验证之前使用某种哈希值部署DNS TXT记录。
如下所示:
Please deploy a DNS TXT record under the name
_acme-challenge.my-domain.com with the following value:
fsLb985adfK4wO1jdawkawgk-4QPTTE3k8x110
Before continuing, verify the record is deployed.
通常我会用手更改条目,但我试图使其自动化.因此,我编写了一个bash脚本,它首先启动certbo
每当我在EC2中站起来时,当您第一次进入VM时,我总是收到以下消息:
The authenticity of host 'ec2-xxxxxx.compute-1.amazonaws.com (n.n.n.n)' can't be established.
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
和其他人一样,我只是说是
Are you sure you want to continue connecting (yes/no)? yes
我明白指纹是什么,为什么它是好
错误:错误解析ssl2.yaml:错误将YAML转换为JSON: yaml:第22行:找不到预期的键
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: ambassador-certs
# cert-manager will put the resulting Secret in the same Kubernetes namespace
# as the Certificate. Therefore you should put this Certificate in the sa