Skip to content
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

Add the option for "Allow self-signed cert" #39

Open
Plexprofile opened this issue Aug 30, 2024 · 7 comments
Open

Add the option for "Allow self-signed cert" #39

Plexprofile opened this issue Aug 30, 2024 · 7 comments

Comments

@Plexprofile
Copy link

In the current version 1.10 an error message would popup when trying to connect to a webdav server saying :

Error:
java.security.cert. CertPath ValidatorException:
Trust anchor for certification path not found

This seems to have something to do with the " self-signed cert" settings because I had the same issue with another app called folder sync and had it fixed by enabling the "allow self-signed cert"
Screenshot_20240830-145354_Easy_Sync~01
Screenshot_20240830-150104_FolderSync_Pro~01

@phpbg
Copy link
Owner

phpbg commented Aug 30, 2024 via email

@Plexprofile
Copy link
Author

Sorry, but I do not know where the trusted certificate can be found, should I request that certificate from my webdav provider or should I create and edit the certificate myself? Would be very helpful if there is any instructions

@phpbg
Copy link
Owner

phpbg commented Sep 10, 2024

You can issue this command from a terminal: openssl s_client -showcerts -connect www.example.com:443
Replace www.example.com:443 with your webdav hostname.

Anyway, you mention a webdav provider. Self signed certificate are only used when you are self hosting your webdav server. If you do have a provider, iy should issue valid certificates, ask it's support.

@itmagpro
Copy link

Confirm! Now try this prog, but not want and not can make unwanted jobs: extract cert from server; import in devices; many etc...

For self-signed webdav this prog just trash! ;(

Just add knob in code for disable cert validation!

@phpbg
Copy link
Owner

phpbg commented Oct 12, 2024

@Plexprofile have you tried the suggested command?

Which webdav provider issues self signed certificate? Any commercial hosting service should come with a valid certificate, otherwise don't pay for it.

@Plexprofile
Copy link
Author

@Plexprofile have you tried the suggested command?

Which webdav provider issues self signed certificate? Any commercial hosting service should come with a valid certificate, otherwise don't pay for it.

Teracloud

@Plexprofile
Copy link
Author

@Plexprofile have you tried the suggested command?

Which webdav provider issues self signed certificate? Any commercial hosting service should come with a valid certificate, otherwise don't pay for it.

haven't tried these command yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants