Understanding X.509 Self-Signed Certificates
from the command line of a Apple macOS (or Linux) command line to create both the unifi.pem (public) and unifi.key (private) certificate parts.
openssl req -x509 -nodes -newkey rsa:2048 -sha256 -subj /CN=unifi -addext extendedKeyUsage=serverAuth -days 750 -out unifi.pem -keyout unifi.key
MOVE TO OWN INSTRUCTIONS
|
Microsoft Windows users have a few options:
Install Windows Subsystem for Linux::
This will let you run + It is important though that you extract the certificate (public) and key (private) in PEM format so that both RADNAC and Ubiquiti’s equipment can use it. Though untested by us, The process is outlined on Stack Overflow but in place of both their The following is untested, but you may be able to build upon it:
|
Next step is to immediately add to your calendar a reminder for 720 days (a month earlier than the expiry) to renew this certificate otherwise your service will stop working.