LXD树脂化后的"未知机构签署的证书"



我在清除lxd并重新安装后得到这个错误:

lxd_network.singlenode: Refreshing state... [id=singlenode] 
Error: Unable to create client for remote [localhost]: 
Get "https://127.0.0.1:5555/1.0": 
x509: certificate signed by unknown authority (possibly because of 
"x509: ECDSA verification failure" while trying to verify candidate 
authority certificate "root@nimbus") 

这甚至发生在lxc remote add nimbus 127.0.0.1:5555 --accept-certificate --password=xxxxx之后。

答案是:LXD在~/.config/lxc/servercerts中缓存远程证书,因此只需删除相关文件。

相关内容

  • 没有找到相关文章