@Michael Holley Apologies for the delay in response and all the inconvenience caused because of the issue.
As I can see you have already installed Unifi Controller on your VM you can still check below for configuration part:
https://devblogs.microsoft.com/premier-developer/setting-up-a-cloud-server-to-run-unifi-controller/
Based upon your error as mentioned here:
UniFi relies on HTTPS for extra security. This means that the browser will check for valid certificates when making a secure connection to the web server. Although the alert message may prove annoying, there's no risk to the connecting user. To avoid this error you must:
Buy a signed SSL certificate from any web hosting provider (or if you decide to generate one, see a few notes on that below).
Then make the following changes to the controller:
sudo su -
# cd <unifi_base>
# on Windows, "%USERPROFILE%/Ubiquiti Unifi"
cd /usr/lib/unifi
# create new certificate (with csr)
java -jar lib/ace.jar new_cert <hostname> <company> <city> <state> <country>
# Enter your password if prompted and then it will create your CSR in /var/lib/unifi
# - unifi_certificate.csr.der
# - unifi_certificate.csr.pem
# have this CSR signed by a CA, you'll get a few certificates back...
# copy the signed certificate(s) to <unifi_base>
# import the signed certificate and other intermediate certificates
java -jar lib/ace.jar import_cert <signed_cert> [<other_intermediate_root_certs>...]
Also for better expertise suggestion you can try posting your query on their public forum here.
Another useful article useful in your use case.
Hope it helps!!!
Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.
Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.