NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
ftps: failed to connect to server / cannot load certificate


Joined: 07 Mar 2023
Posts: 6
Location: Bremen, FRG
Reply with quote
I installted NuSphere PhpEd (19.5) on a new Windows-11 professional desktop.

Wanting to update the source from within the editor, using Ctrl-Shift-S for Uploading to the external server.

I get:
Failed to connect to Server myserver.mydomain.de Port 21 (Account fairtauschen_hetzner)
Could not load root certificate.
error: 0b084002:x509 certificate routines:X509_load_cert_crl_filesystem lib

Login data like username, password are correct.
on my old windows-10 pc everything works fine.

I looked on google, but didnt find a solution.
I only found this:
https://forum.nusphere.com/cannot-connect-over-ftps-t7979.html
This is not about windows 11, so I have no idea where to look for.

Thanks
View user's profileFind all posts by TauschFactorySend private message


Joined: 07 Mar 2023
Posts: 6
Location: Bremen, FRG
Reply with quote
The problem itself is not solved, but I did a quite strange workaraound...
I took anoth working Windows-10 PC, where the phped is also installed.
Then I cloned that hard drive partition and updated to Windows-11.
There now the editor is working fine and the Ctrl-Shift-S automatic upload to the webserver with FTPS is also working.
So for me personal no need for an extra solution.
View user's profileFind all posts by TauschFactorySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8361
Reply with quote
"Could not load root certificate." may indicate it's something with loading CA bundle or the issue is because Root certificate has not been found in the CA bundle.
You can try to check certificate chain on your server using openssl.exe. You can find it independently or use one we shipped with PhpED.
CA bundle file that contains all root trusted certs is in %APPDATA%\NuSphere\PhpED\config\openssl\ca-bundle.crt

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem persists - still problems with root certificate


Joined: 07 Mar 2023
Posts: 6
Location: Bremen, FRG
Reply with quote
New computer - same problem.
Windows-10 - problem exists. Upgrade to Win-11 - problem stays.

phped completely deleted - including all config-files in /roaming/nusphere/phped/...
phped freshly installed - problem persists the same.

openssl.exe - I don't have on my PC.

The exact error message is:
"Failed to connect to server "-server-name-", port 22 (account account-name).
Could not load root certificate.
error:0b084002:x509 certificate routines:X509_load_cert_crl_file:system lib"

Im wondering why ROOT certificate? Which one??

I have another PC (both running Win-11) where everything works fine.
I compared the directories: /users/username/appdata/roaming/nusphere/phped/config
and found no differences - especially not in the /config/openssl/ca-bundle.crt

Now where from (or to) does phped search for the root certificate? And which one?
Is there possibly a logfile where it says, what it is searching for?

I have another software (totalcommander 64bit) on the same PC, which works fine with FTPS towards my destination-server. So it most probably doesnt have to do with the server (professional hosting company).

Please help - I have no idea where so look for this...
Thanks in advance!!
View user's profileFind all posts by TauschFactorySend private message
version 21 installed - problem does not exist any more


Joined: 07 Mar 2023
Posts: 6
Location: Bremen, FRG
Reply with quote
Update:
I deleted the previous version - 19.0 - and also deleted all the config files and installed the current version 21.0
Now it works.
View user's profileFind all posts by TauschFactorySend private message
ftps: failed to connect to server / cannot load certificate
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic