feat: implement self-signed certificate support in API and UI
- Added support for self-signed TLS certificates in the ApiService, allowing configuration based on server settings. - Introduced a toggle in the ServerConnectionPage to enable or disable trusting self-signed certificates. - Updated localization files to include new strings for self-signed certificate settings in multiple languages. - Enhanced the OptimizedStorageService to manage trusted servers based on user preferences for self-signed certificates. - Improved error handling and logging throughout the affected services to ensure clarity and maintainability.
This commit is contained in:
@@ -259,6 +259,14 @@
|
||||
"advancedSettings": "Impostazioni avanzate",
|
||||
"customHeaders": "Header personalizzati",
|
||||
"customHeadersDescription": "Aggiungi header HTTP personalizzati per autenticazione, chiavi API o requisiti speciali del server.",
|
||||
"allowSelfSignedCertificates": "Considera attendibili i certificati autofirmati",
|
||||
"@allowSelfSignedCertificates": {
|
||||
"description": "Etichetta dell'interruttore che consente i certificati TLS autofirmati per il server configurato."
|
||||
},
|
||||
"allowSelfSignedCertificatesDescription": "Accetta il certificato TLS di questo server anche se è autofirmato. Attiva questa opzione solo per server di cui ti fidi.",
|
||||
"@allowSelfSignedCertificatesDescription": {
|
||||
"description": "Testo di supporto che chiarisce i rischi dell'attivazione dell'opzione per certificati autofirmati."
|
||||
},
|
||||
"headerNameEmpty": "Il nome header non può essere vuoto",
|
||||
"headerNameTooLong": "Nome header troppo lungo (max 64 caratteri)",
|
||||
"headerNameInvalidChars": "Nome header non valido. Usa solo lettere, numeri e questi simboli: !#$&-^_`|~",
|
||||
|
||||
Reference in New Issue
Block a user