Recently I encountered an issue where my UDM-Pro had its self-signed certificate expired.
In this post we’ll see how we can issue a new self-signed certificate.
The steps were performed and tested under UDM-Pro with Unifi-OS v3.1.16
Steps
- Enable SSH on your UDM-Pro
- Login to your UDM-Pro
- Select Console Settings on the left
- Enable SSH
- Define a password

- SSH into your UDM-Pro
- Username: root
- Password: The one defined above
- Go to the following directory

- Backup the current certificate and private key
mv unifi-core.crt unifi-core.crt.bak
mv unifi-core.key unifi-core.key.bak
- Issue the below command to restart the core services which will regenerate a new key and certificate
systemctl restart unifi-core