-
Notifications
You must be signed in to change notification settings - Fork 0
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
RequestError: unable to verify the first certificate #3
Comments
You must uncheck "Activate secure connection (SSL/TLS)" and also unckeck "Use basic auhentication" in first http request node. Reason: the URL https://... is a TLS connection usually checking the validity of the ceritificate chain (incl. the CA certificate). If the certificate has not been created by the right CA (e.g. also for elf signed certificates) the validation of the certificate will fail. To work around the certificate validation please uncheck the 2 mentioned options. |
Thank you! The 2 options were disabled. I have tried different settings but it doesn't want to work. Do I have to adjust anything on the inverter? |
Nothing more needed to be adjusted only the inverter side (at least for me), except activating the Webconnect server. The inverter variant at my side which I could only test is a SMA Sunny Tripower 8.0 Smart Energy (STP8.0-3SE). But the 5 / 6 / 10 kW variants should make no difference. If you are using a different inverter model it may not work. |
I get the same error and I have a a Tripower 5.0. Webconnect is enabled, IP address and password is set, any more hints? |
Sorry for the late response. I figured out of some issues with the SMA Sunny Tripower inverter. After automatic SW-update (triggered by SMA) 2 issues occured: 1st: the Webconnect functionality is always switched OFF again, you need to activate it again after each SW-Update with the installer account, which is very unsatisfactory and annoying. 2nd: after the SW-update I encountered massive DNS problems in my setup so that the inverter address "sma0123456789.local" could not be resolved anymore. I replaced the DHCP settings with a fixed IP address (192.168.x.y) in the inverter and changed the 3 HTTP request nodes in the Node-Red flow accordingly by setting the URLs to: https://192.168.x.y/dyn/... |
I encounter exactly the same problem. I use a SMA Sunny Tripower 10.0 and get the same error as @Kime203. Webconnect is switched on and IP is set. Any more hints in resolving the issue? |
Also, what happens if you address the inverter with |
Activating TLS doesn't make any difference - error is the same. But when I use your curl command and run it from the node red terminal I get a response like: {"result":{"sid":"xxxxxx"}} |
I found the issue. I activated TLS again and in the empty TLS config I had to uncheck "Verify server certificate". |
Good that you found the issue. Actually, I should have mentioned that my TLS config is "empty". |
Hello pddpauw, Thank you for your message! Unfortunately it didn't solve my problem. when I use the inverter in the terminal of the RaspberryPi 4b in node red:
Sincerely |
I suggest you add a debug node to the first http request, and check if the object has content (click through on the arrows). |
The first HTTP request keeps returning 'UNABLE TO VERIFY LEAF SIGNATURE" When I connect to the ip adress or SMAID.local with the entered credentials, this works fine. |
I have the same Problem, i always get the Message: 'UNABLE TO VERIFY LEAF SIGNATURE" |
You have to do in each of 3 "http request node":
Additionally check WR hostname, sometimes you just need it without suffix ".local" That solution worked for me! |
Hello I have a problem I always get the error: "RequestError: unable to verify the first certificate" where could the error be?
The text was updated successfully, but these errors were encountered: