不是 ![]()
root@server-1:/var/discourse# time openssl s_client -starttls smtp -connect smtp-relay.sendinblue.com:587 < /dev/null > /dev/null
depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
verify return:1
depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
verify return:1
depth=0 CN = *.sendinblue.com
verify return:1
250 STARTTLS
DONE
real 0m0.126s
user 0m0.003s
sys 0m0.007s
root@server-1:/var/discourse# docker run --rm discourse/base:2.0.20231023-1945 bash -c 'time openssl s_client -starttls smtp -connect smtp-relay.sendinblue.com:587 < /dev/null' > /dev/null
depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
verify return:1
depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
verify return:1
depth=0 CN = *.sendinblue.com
verify return:1
250 STARTTLS
DONE
real 0m8.125s
user 0m0.007s
sys 0m0.000s
…我应该卸载/重装docker吗?
我只做了一些apt命令,并且让它保持docker-ce的默认设置,所以我不知道哪里出了问题……
我唯一做的修改是按照另一个帖子中的建议添加了dns,因为我最初遇到了“未知主机”错误。
root@server-1:/var/discourse# cat /etc/docker/daemon.json
{
"dns": ["83.166.143.51", "83.166.143.52", "8.8.8.8"]
}