Skip to content

Fast user switching might corrupt certificate database #675

@nexttoyou

Description

@nexttoyou

Problem:
It isn’t currently reproducible but already happened twice. After switching from one user account to another on the same machine (by using fast user switching) the cert database in /Library/Application Support/com.adguard.mac.adguard/AdguardCore/CertCache/SSL/ is suddenly corrupted and renders impossible to open any ssl connection except those that are excluded in AdGuard. Apparently both instances of AdGuard from both user accounts are writing at the same time to the same file.

Workaround:
Quitting AdGuard, replacing the files cert.db, cert.db-shm and cert.db-wal (all of them situated in /Library/Application Support/com.adguard.mac.adguard/AdguardCore/CertCache/SSL/) from a backup and restarting AdGuard again resolves the expected functionality.

Environment:
iMac (Retina 5K, 27-inch, 2017) on macOS Mojave (10.14.6, build 18G3020), 40 GB RAM.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions