-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unifi API login issue #12
Comments
Check your certificate is valid on your controller and you might also have to force TLS 1.2 by adding this: |
I just wanted to let you know that I have this working now.
I migrated the controller from the Mac mini to an Ubuntu VM this weekend and that resolved the cert problem. I ran the PS script and it is working.
I do have one request - is it possible to break the APs onto separate lines? It is somewhat confusing seeing them on a single line.
On a separate note - I have two Hyper-V hosts here and one of them gives me an error that the host name is not found in Hudu. It is there - synced from Syncro. Is there anything I can do to debug this?
Many thanks,
Des
…--
Des Dougan
Principal
Dougan Consulting Group Inc.
O: 604-628-5434
C: 604-866-2848
E: ***@***.***
W: https://www.DouganConsulting.com
Peace of Mind, One Computer at a Time.
Remote Support URL:
https://sc.douganconsulting.com:8040
On 11 Oct 2021, at 4:13, lwhitelock wrote:
Check your certificate is valid on your controller and you might also have to force TLS 1.2 by adding this:
`[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12`
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_lwhitelock_HuduAutomation_issues_12-23issuecomment-2D939931245&d=DwICaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=vYZk9Bq5wR7P77crNsXm_AyXc7zhxg104ZsXEt2NX98&m=-jmn6h_CddDt-xmF6LpPEOzLBKnbnx6Eot1sw_1joZg&s=UjbS1YD1B2FsirBO7B6fPf0U5eZ-vTv5d3DrndbHWUo&e=
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a Windows Server 2019 host, getting this error running the Hudu-Unifi-Documentation.ps1 script:
Failed to log in on the Unifi API. Error was: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
If I put the API URL in a browser, I see this:
{"meta":{"rc":"error","msg":"api.err.NoSiteContext"},"data":[]}
I'm running the controller on a Mac mini and it is version 6.1.71.0.
Am I missing something with the configuration?
Thanks,
Des
The text was updated successfully, but these errors were encountered: