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:
@@ -765,6 +765,14 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String get customHeadersDescription =>
|
||||
'Ajoutez des en-têtes HTTP personnalisés pour l\'authentification, les clés API ou des exigences spécifiques du serveur.';
|
||||
|
||||
@override
|
||||
String get allowSelfSignedCertificates =>
|
||||
'Faire confiance aux certificats auto-signés';
|
||||
|
||||
@override
|
||||
String get allowSelfSignedCertificatesDescription =>
|
||||
'Acceptez le certificat TLS de ce serveur même s\'il est auto-signé. Activez cette option uniquement pour les serveurs auxquels vous faites confiance.';
|
||||
|
||||
@override
|
||||
String get headerNameEmpty => 'Le nom de l\'en-tête ne peut pas être vide';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user