PKCS#12 import failed with error -8183

Description of the issue:
I cannot import PFX certificate on Linux. After running the browser with --enable-logging=stderr I can see following error in the output:

PKCS#12 import failed with error -8183

How can this issue be reproduced?

  1. Go to certificate manager
  2. Click Import button
  3. Select PFX file
  4. Enter password
  5. Browser responds with following UI message: “Invalid or corrupt file”

Expected result:
Certificate gets imported.

Brave Version( check About Brave):
Version 1.18.75 Chromium: 87.0.4280.101 (Official Build) (64-bit)

Additional Information:
Here is openssl information about my cerificate:

$ openssl pkcs12 -info -in mycert.pfx
Enter Import Password:
MAC: sha256, Iteration 2000`
MAC length: 32, salt length: 20
PKCS7 Data
Shrouded Keybag: PBES2, PBKDF2, AES-256-CBC, Iteration 2000, PRF hmacWithSHA256
Bag Attributes
    localKeyID: 01 00 00 00
    friendlyName: te-0068eff1-a6c1-4982-80f7-e07dd5474083
    Microsoft CSP Name: Microsoft Enhanced Cryptographic Provider v1.0
Key Attributes
    X509v3 Key Usage: 10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.