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

WebDav SSL peer certificate problem ? #228

Open
manduted opened this issue Mar 20, 2024 · 7 comments
Open

WebDav SSL peer certificate problem ? #228

manduted opened this issue Mar 20, 2024 · 7 comments

Comments

@manduted
Copy link

I use is the webdav Nextcloud(My own server)
Open this JKSV: Fail start the webdav.

In the log:
WebDav: directory exists failed: SSL peer certificate or SSH remote key was not OK
WebDav: directory creation failed: SSL peer certificate or SSH remote key was not OK

My certificate is from Dnspod, not a self-signed certificate. This URL can be used for normal SSL connection on the Internet.

Excuse me, how can I solve this problem?

@impeeza
Copy link
Contributor

impeeza commented Mar 20, 2024

Please go to #207 for reference

more explicitly:
#207 (comment)

@manduted
Copy link
Author

manduted commented Apr 5, 2024

Please go to #207 for reference

more explicitly: #207 (comment)

Looked at the code, looked up the information on the Internet, perhaps because did not add this code

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);

But I'm not Building, hahahahahahaha

@rado0x54
Copy link
Contributor

My certificate is from Dnspod, not a self-signed certificate. This URL can be used for normal SSL connection on the Internet.

Are you sure the same URL verifies fine in your browser? I'm working against a LetsEncrypt protected webdav and it works fine. Also consider updating your Switch version, since I believe the CA root certificate store is pulled from the OS.

Disabling certificate checks is NOT the solution.

@rado0x54
Copy link
Contributor

Also make sure that the System Time on your console is set correctly. Otherwise you also get this error.

@fennectech
Copy link

fennectech commented Jul 29, 2024 via email

@manduted
Copy link
Author

我的证书来自 Dnspod,而不是自签名证书。此 URL 可用于 Internet 上的正常 SSL 连接。

您确定相同的 URL 在您的浏览器中验证良好吗?我正在使用受 LetsEncrypt 保护的 webdav,它运行良好。还可以考虑更新您的 Switch 版本,因为我相信 CA 根证书存储是从操作系统中提取的。

禁用证书检查不是 NOT 解决方案。

I'm not sure if it's because of nextcloud

But I can confirm that the same URL validates well in my browser.
However, I'm using the vpn through my mobile phone hotspot, which is also safe

@impeeza
Copy link
Contributor

impeeza commented Jul 31, 2024

From my knowledge SSL errors can also be caused by having a wiped prodinfo by the old tool we tell everyone not to use.

On Jul 27, 2024, at 10:00 AM, Martin Riedel @.***> wrote: Also make sure that the System Time on your console is set correctly. Otherwise you also get this error. — Reply to this email directly, view it on GitHub <#228 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3GMAPRLMG2C7DKMRAVBADZOOYYNAVCNFSM6AAAAABE72CLYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGE3TCOBRGQ. You are receiving this because you are subscribed to this thread.

That's is for Nintento servers certificates, that uses Local system Certificates to autenticate, and that is the prodinfo.

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

4 participants