Support mTLS

Aperta
#100 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@ChiragAgg5k ci sta già lavorando.

Dal 24/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

🔖 Enhancement description

I would like to be able to specify an SSL Socket Factory on the OkHttpClient.Builder when I'm creating a Client so that I can support mutual TLS for a self-hosted instance that's behind a proxy.

Essentially, add a method like:

fun sslSocketFactory(
    sslSocketFactory: SSLSocketFactory,
    trustManager: X509TrustManager
): Client {
    http = http.newBuilder().sslSocketFactory(sslSocketFactory, trustManager).build()
    return this
}
🎤 Pitch

For self-hosted instances, there are a variety of common practices to increase security by reducing the exposure to the public internet. Two common practices are using a VPN and using mutual TLS behind a proxy. This lets apps guard access to the server by client certificates which can be issued and revoked individually, improving security to access the instance.

👀 Have you spent some time to check if this issue has been raised before?
  • I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
Lingua principale
Kotlin
Stelle
156
Fork
29
Merge medio
8h 49m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di appwrite/sdk-for-android

Tutte le issue di appwrite/sdk-for-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.