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

Option to ignore certificate legitimacy #14

Closed
lennartbrandin opened this issue Jan 27, 2023 · 3 comments · Fixed by #23
Closed

Option to ignore certificate legitimacy #14

lennartbrandin opened this issue Jan 27, 2023 · 3 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request

Comments

@lennartbrandin
Copy link

What am I trying to achieve?

I want to access a local navidrome server which is secured by a selfsigned certificate.

image

The same happens when using mismatching certificates (Domain differs from certificate domain).

How could it be solved?

Adding an option to accepts self signed certificates (This is how i use it in a mobile app Ultrasonic)

Whats the impact of not solving this?

The app remains unusable without publicly exposing the server or doing some nasty workarounds with host files.

@lennartbrandin lennartbrandin added the enhancement New feature or request label Jan 27, 2023
@jeffvli jeffvli self-assigned this Jan 30, 2023
@jeffvli jeffvli linked a pull request Feb 5, 2023 that will close this issue
@jeffvli
Copy link
Owner

jeffvli commented Feb 5, 2023

I've added a toggle to ignore CORS for all servers.

image

Can you test it on #23 to see if it's working for you? (Desktop executables will be posted on the pull request once the build is finished).

@lennartbrandin
Copy link
Author

So i checked the ignore, restart but
self signed certificates do not work, i can see:

./Feishin-0.0.1-alpha4-linux-x86_64.AppImage 
libva error: /usr/lib/dri/iHD_drv_video.so init failed
11:20:07.051 › Checking for update
11:20:07.852 › Update for version 0.0.1-alpha4 is not available (latest version: 0.0.1-alpha4, downgrade is disallowed).
11:20:07.854 › checkForUpdatesAndNotify called, downloadPromise is null
[3484:0206/112030.097643:ERROR:cert_verify_proc_builtin.cc(670)] CertVerifyProcBuiltin for navidrome.domain failed:
----- Certificate i=0 (O=Internet Widgits Pty Ltd,ST=Some-State,C=DE) -----
ERROR: No matching issuer found

i also tested a domain mismatching certificate (which is issued by an authority) but that does not work either, and does not result in any console output.

@lennartbrandin
Copy link
Author

Fixed in #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants