Ticket #1485224 (new Patches)
client certificate authentication support for roundcube
| Reported by: | dan | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | later |
| Component: | Client Scripts | Version: | 0.2-beta |
| Severity: | normal | Keywords: | certificate X509 passwordless SSL TLS |
| Cc: |
Description
As i've got too many passwords I've created the following patch that allows the use of client side certificates to authenticate to roundcube.
The verification of the certificates is performed by the webserver (only apache, lighttpd doesn't support it). The attached patch uses the SSL variables in the environment and maps those to a IMAP username.
As certificates don't pass a password there is a configuration for a global password that needs to be included in the imap authentication.
The attached patches include a fix for 1485207 as I've refactored the code that the patches there apply to. As the email address in the certificate is authoritative as an identity, poor regex matching will allow access to unintended persons.
If accepted I'm happy to write about the Apache configuration and IMAP server setup on the wiki.
