chris2511 / xca

X Certificate and Key management
http://xca.hohnstaedt.de
Other
1.54k stars 204 forks source link

Problems exporting PKCS#12 #528

Closed pc-bastler closed 8 months ago

pc-bastler commented 9 months ago

Hi,

we tried to export a certificate with its private key using PKCS#12 (NOT the chain-"version") with 2.5.0. We typed a password (4-Digit) for the resulting file. Up to here we got no errors.

We moved the file over to a Windows Server (Server 2019) and tried to import it to the maschine certificate store, the server keeps telling us that the password is wrong (we Quadruple-cheked this, tried to re-Export with another password, ...).

We tried to import ist to the user store of a Windows 10 Maschine, this worked.

We also tried to export the certificate as PKCS#12 using XCA 2.4.0 and we where able to install it on the server mentioned above.

chris2511 commented 9 months ago

Please see issue #512. You are invited to try the referenced action build there or the current one, to check that this issue is fixed. Make sure that the legacy PKCS#12 algorithm PBE-SHA1-3DES is selected in the Options/Preferences.