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

Support for self-signed certificates. #18

Closed
argus-core opened this issue Feb 19, 2021 · 5 comments
Closed

Support for self-signed certificates. #18

argus-core opened this issue Feb 19, 2021 · 5 comments

Comments

@argus-core
Copy link

argus-core commented Feb 19, 2021

I run a Subsonic-compatible server (Navidrome) behind an Nginx reverse proxy with a self-signed certificate (Synology NAS). Login attempt from Amperfy fails with a "Login failed, Not able to login, please check credentials! message". There is no option to review or accept the certificate. Login works as expected when pointing Amperfy directly at Navidrome HTTP port.

  • Navidrome is version 0.39.0 running in Docker on a Synology NAS running DSM 6.2.3-25426 Update 3
  • Reverse proxy in use is the default Synology Ngnix
  • Amperfy is the App Store version, I can't find a version number
@BLeeEZ
Copy link
Owner

BLeeEZ commented Feb 21, 2021

Have you installed your self signed certificate as a root certificate in iOS settings as described here?
New iOS apps which ignore certificate check do not pass the apple code review. So the solution is to install your certificate so the verification will not fail.
I am thinking of a feature that Amperfy displays an error message if it can't connect to the server due to a failed certificate check.

@argus-core
Copy link
Author

I've not tried that, thanks for the hint. An error message would be great, maybe even with a suggestion to install the self-signed cert on the device.

@BLeeEZ
Copy link
Owner

BLeeEZ commented Feb 24, 2021

With this 85cb35f commit the user gets detailed error messages in the login view.
Certificate errors will be displayed as those.

@BLeeEZ
Copy link
Owner

BLeeEZ commented Feb 26, 2021

Version 1.0.3 has been released on the App Store.
You should see an error message if you try to connect to a server with a self signed certificate.
Can you confirm this?

@argus-core
Copy link
Author

Confirmed, attaching screenshot.

navidrome

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

2 participants