⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Adding support for Client TLS#55

Open
mintsoft wants to merge 10 commits intorotdrop:masterfrom
mintsoft:client-tls
Open

Adding support for Client TLS#55
mintsoft wants to merge 10 commits intorotdrop:masterfrom
mintsoft:client-tls

Conversation

@mintsoft
Copy link

I've recently migrated to using Mutual TLS for my setup, which broke the roundcube addon. Looking at the logs it's because when roundcube would be logging in, it's not using a TLS certificate so Apache is rejecting the connection.

The only solution I can see for this is to extend this addon to support using TLS auth with its own certificate.

Still a WIP but feedback sought throughout.

@mintsoft
Copy link
Author

mintsoft commented Dec 27, 2025

I think this works but I've been unable to test as I can't get the JS in master to build at the moment and I've not had a chance to dig into what's going on:

ERROR in [eslint] 
/home/rob/nextcloud-roundcube/build/ts-types/app-config.ts
  21:1  error  Parsing error: The keyword 'export' is reserved

/home/rob/nextcloud-roundcube/src/AdminSettings.vue
  2:4  error  Parsing error: Unexpected character '@'

/home/rob/nextcloud-roundcube/src/App.vue
  2:4  error  Parsing error: Unexpected character '@'

/home/rob/nextcloud-roundcube/src/PersonalSettings.vue
  2:4  error  Parsing error: Unexpected character '@'

/home/rob/nextcloud-roundcube/src/RoundCubeWrapper.vue
  2:4  error  Parsing error: Unexpected character '@'

/home/rob/nextcloud-roundcube/src/RoundCubeWrapperRouteReactivity.vue
  2:4  error  Parsing error: Unexpected character '@'

/home/rob/nextcloud-roundcube/src/admin-settings.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/app.ts
  23:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/config.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/logger.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/personal-settings.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/roundcube.ts
  22:6  error  Parsing error: Unexpected token RoundCubeWindow

/home/rob/nextcloud-roundcube/src/router/router.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/toolkit/util/cloud-version-classes.ts
  20:1  error  Parsing error: The keyword 'const' is reserved

/home/rob/nextcloud-roundcube/src/toolkit/util/console.ts
  20:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/toolkit/util/dialog-confirm.ts
  20:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/toolkit/util/initial-state.ts
  22:1  error  Parsing error: The keyword 'import' is reserved

/home/rob/nextcloud-roundcube/src/toolkit/util/settings-sync.ts
  20:1  error  Parsing error: The keyword 'import' is reserved

✖ 18 problems (18 errors, 0 warnings)


webpack 5.104.1 compiled with 1 error in 5275 ms

@mintsoft mintsoft changed the title Draft: Adding support for Client TLS Adding support for Client TLS Dec 27, 2025
@mintsoft
Copy link
Author

mintsoft commented Jan 2, 2026

Gave up with trying to fix the lint and commented it out of the build, but I have tested this with mTLS now and it does work as desired.

@loxK
Copy link

loxK commented Feb 4, 2026

Gave up with trying to fix the lint and commented it out of the build, but I have tested this with mTLS now and it does work as desired.

Look at this commit : Gecka-Apps@1c3ac47

@mintsoft
Copy link
Author

mintsoft commented Feb 5, 2026

Look at this commit : Gecka-Apps@1c3ac47

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants