https://bugs.winehq.org/show_bug.cgi?id=49144
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- (In reply to petrov_lv from comment #2)
Created attachment 67147 [details] WINEDEBUG=+crypt trace file
0024:trace:crypt:CryptQueryObject (00000001, 0xb41f08, 00001522, 0000000e, 00000000, (nil), 0x31f400, (nil), (nil), (nil), (nil)) 0024:trace:crypt:CRYPT_ReadBlobFromFile L"C:\program files\test_pfx\cert.pfx" 0024:trace:crypt:CRYPT_ReadBlobFromFile returning 0
CRYPT_ReadBlobFromFile returning 0 means it can't read the file. Make sure it exists in that place and is readable. For me it fails a little later because importing DSA keys from PFX blobs is currently not supported.