Only affects android
Affects the backend of the app as well
In-depth Description
I am working with mTLS and a custom CA to limit access to my internet facing services. Thus audiobookshelf needs mTLS for my requirements
How have you tested this?
Yes I have tested it, the modifications are only shown when the server requests a certificate
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1819
**Author:** [@ckbaker10](https://github.com/ckbaker10)
**Created:** 3/9/2026
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `ssl-cert-http`
---
### 📝 Commits (6)
- [`72c3948`](https://github.com/advplyr/audiobookshelf-app/commit/72c394834f5259f4dd66acad249b95319a30cd88) mTLS Cert Authentication enabled
- [`5dbe6af`](https://github.com/advplyr/audiobookshelf-app/commit/5dbe6af96c7d70778d8d5c89eadc916c8fac7598) Only show cert button when needed
- [`343153c`](https://github.com/advplyr/audiobookshelf-app/commit/343153c9ef6bf7173f674d156417e2c595e71af7) Download queue fixes for mtls
- [`2f52d1d`](https://github.com/advplyr/audiobookshelf-app/commit/2f52d1d8143debb2458250c236974a5e932318d9) Enable mTLS for websocket
- [`22a18c6`](https://github.com/advplyr/audiobookshelf-app/commit/22a18c681d6cb03ce4ae038f1795b89a75f93795) mTLS for Streaming
- [`f6f8293`](https://github.com/advplyr/audiobookshelf-app/commit/f6f82930b3c1030603f37c2dbf61110ece036c7f) Centralized mTLS
### 📊 Changes
**11 files changed** (+668 additions, -24 deletions)
<details>
<summary>View changed files</summary>
📝 `android/app/src/main/java/com/audiobookshelf/app/MainActivity.kt` (+39 -0)
📝 `android/app/src/main/java/com/audiobookshelf/app/managers/InternalDownloadManager.kt` (+1 -3)
➕ `android/app/src/main/java/com/audiobookshelf/app/managers/MtlsManager.kt` (+326 -0)
📝 `android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDatabase.kt` (+103 -0)
📝 `android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt` (+2 -1)
📝 `android/app/src/main/java/com/audiobookshelf/app/server/ApiHandler.kt` (+11 -12)
📝 `components/connection/ServerConnectForm.vue` (+114 -6)
📝 `plugins/capacitor/AbsDatabase.js` (+24 -0)
📝 `plugins/db.js` (+39 -0)
📝 `plugins/server.js` (+2 -2)
📝 `strings/en-us.json` (+7 -0)
</details>
### 📄 Description
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
If you do not follow this template, the PR may be closed without review.
Please ensure all checks pass.
If you are a new contributor, the workflows will need to be manually approved before they run.
-->
## Brief summary
Adds mTLS authentication using certificates
## Which issue is fixed?
https://github.com/advplyr/audiobookshelf-app/issues/1419
## Pull Request Type
Only affects android
Affects the backend of the app as well
## In-depth Description
I am working with mTLS and a custom CA to limit access to my internet facing services. Thus audiobookshelf needs mTLS for my requirements
## How have you tested this?
Yes I have tested it, the modifications are only shown when the server requests a certificate
## Screenshots
<img width="443" height="769" alt="image" src="https://github.com/user-attachments/assets/f73efb98-cafa-402c-b024-5c16921e1e6b" />
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1819
Author: @ckbaker10
Created: 3/9/2026
Status: 🔄 Open
Base:
master← Head:ssl-cert-http📝 Commits (6)
72c3948mTLS Cert Authentication enabled5dbe6afOnly show cert button when needed343153cDownload queue fixes for mtls2f52d1dEnable mTLS for websocket22a18c6mTLS for Streamingf6f8293Centralized mTLS📊 Changes
11 files changed (+668 additions, -24 deletions)
View changed files
📝
android/app/src/main/java/com/audiobookshelf/app/MainActivity.kt(+39 -0)📝
android/app/src/main/java/com/audiobookshelf/app/managers/InternalDownloadManager.kt(+1 -3)➕
android/app/src/main/java/com/audiobookshelf/app/managers/MtlsManager.kt(+326 -0)📝
android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDatabase.kt(+103 -0)📝
android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt(+2 -1)📝
android/app/src/main/java/com/audiobookshelf/app/server/ApiHandler.kt(+11 -12)📝
components/connection/ServerConnectForm.vue(+114 -6)📝
plugins/capacitor/AbsDatabase.js(+24 -0)📝
plugins/db.js(+39 -0)📝
plugins/server.js(+2 -2)📝
strings/en-us.json(+7 -0)📄 Description
Brief summary
Adds mTLS authentication using certificates
Which issue is fixed?
https://github.com/advplyr/audiobookshelf-app/issues/1419
Pull Request Type
Only affects android
Affects the backend of the app as well
In-depth Description
I am working with mTLS and a custom CA to limit access to my internet facing services. Thus audiobookshelf needs mTLS for my requirements
How have you tested this?
Yes I have tested it, the modifications are only shown when the server requests a certificate
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.