Skip to content

Failed registration because of self-signed certificates #1058

@FBorowiec

Description

@FBorowiec

Priority/Impact

High (critical issue, blocks workflow)

Description

Description

Registering on home setup with a .local extension fails with self-signed certificates (very common for home setups).
Can you please add an option to accept self-signed certificates? Thanks!

Error details

Error title: An error occurred
Error message: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:298))
Stack trace:

#0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:101)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:146)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:1009)
#3      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1139)
<asynchronous suspension>
#4      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:1017)
<asynchronous suspension>
#5      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1139)
<asynchronous suspension>

App logs (last 4 entries):

2025-12-24T10:31:18.171291 INFO [AuthProvider] autologin failed, no saved user data
2025-12-24T10:31:18.172836 INFO [AuthProvider] autologin failed, no saved user data
2025-12-24T10:31:35.191491 SEVERE [main] Error caught by PlatformDispatcher.instance.onError: HandshakeException: Handshake error in client (OS Error: 
	CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:298))
2025-12-24T10:31:35.191843 SEVERE [main] Stack trace: #0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:101)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:146)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:1009)
#3      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1139)
<asynchronous suspension>
#4      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:1017)
<asynchronous suspension>
#5      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1139)
<asynchronous suspension>

Server version

Current version 2.4.0a2+git7361cdd Date 2025-12-20 (docker compose)

Mobile app version

V 1.9.4 from play store

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions