[SOLVED] Web panel cannot log in after using public network certificate

zhihuiyuze

Member
May 23, 2020
15
0
21
24
我添加了加密权威和我不能登录。 通过局域网IP ssl错误显示,局域网IP并不是通过域名绑定来访问。
我计划修改原来的证书。 但是文档告诉我不要修改pve-ssl。 键和pve-ssl.pem。 我如何修改证书?
1592574538050.png
1592574560411.png
1592574771644.png
 
Hello,

Please write in English

I translated from google translate:

Code:
I added encryption authority and I cannot log in. The LAN IP ssl error shows that the LAN IP is not accessed through domain name binding.

I plan to modify the original certificate. But the documentation tells me not to modify pve-ssl. Key and pve-ssl.pem. How can I modify the certificate?

After you editing SSL Certificate did you restart pveproxy?

- systemctl restart pveproxy

Did you read our guide?
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_certificate_management
 
[TABLE] [TR] [TD][/TD] [TD]Do not replace or manually modify the automatically generated node certificate files in /etc/pve/local/pve-ssl.pem and /etc/pve/local/pve-ssl.key or the cluster CA files in /etc/pve/pve-root-ca.pem and /etc/pve/priv/pve-root-ca.key.[/TD] [/TR] [/TABLE]
It says don't replace it manually. ACME seems to be using a public certificate, and I want to go back to using a self-signed certificate. But the documentation doesn't seem to give a way to not go through the web?
 
Resolved, delete pve-ssl and pve-ssl.pem and execute systemctl restart pveproxy to regenerate the certificate