Repository navigation
Allow Client Certificate Login with NextCloud #836
Scope
DescriptionI'm running a NextCloud server that requires a client certificate to log in, in addition to NextCloud's normal authentication. When I attempt to run a Provider-specific login for NextCloud against a URL of https://example.com/, I'm granted with an error
Advanced Login already supports client certificates. I'm guessing this wouldn't be too much work to add in 😄 Further infoWhen I run an Advanced Login of https://example.com/remote.php/dav/calendars/USERNAME/CALENDARNAME, type in my Nextcloud username and password, and select a client certificate installed on the device, this is also not successful. Nginx Proxy Configuration ExampleThe following is configured on my internet-facing NGINX. This hands off to Apache hosting Nextcloud. It's important to note that my mobile Android clients are able to log into Nextcloud with client certs on the Nextcloud mobile app. |
Replies: 3 comments
I wonder why this isn't working already. What do the verbose logs say? Is a certificate sent? How does the server deny the request? Which DAVx5 version did you try? Sounds like #787 |
|
This is when I try to run a provider-specific login. Huh, now advanced login is working. It wasn't with 4.3.16, but my phone updated to 4.4.0.1. |
"Login with Nextcloud" doesn't support client certificates. It lets a browser do the login and only gets the token from the browser, but not a possible certificate.
Fine, please always use advanced login when using a client certificate. |
"Login with Nextcloud" doesn't support client certificates. It lets a browser do the login and only gets the token from the browser, but not a possible certificate.
Fine, please always use advanced login when using a client certificate.