Password incorrect when import certificate on server 2012

RAN55 176 Reputation points
2022-09-06T06:48:59.177+00:00

Hello,

I trying to import a new certificate in server 2012 and says password incorrect, but the passworsd is correct. I have no problems importing this certificate on server 2019.

I have seen in some forums that the problem is that 2012 does not support the encryption that some new certificates have, is correct ?

How can i solve my problem?

Thanks.

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,599 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,852 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. RAN55 176 Reputation points
    2022-09-12T09:36:22.337+00:00

    Finally i got it using OpenSSL:

    You have to export .key and .cer from your certificate.

    An them you have to create a new pfx with this command:

    openssl pkcs12 -export -certpbe PBE-SHA1-3DES -keypbe PBE-SHA1-3DES -nomac -inkey exported.key -in exported.crt -out New.pfx

    9 people found this answer helpful.

  2. JimmySalian-2011 42,156 Reputation points
    2022-09-06T07:16:23.597+00:00

    Hi Ran,

    Seems like a known issue the fix is suppose to export the key from the working server with exportable keys and import on the Windows 2012 Server.

    Solution: Import the .pfx into a newer version of Windows (Like Windows 10 or 2016) . This is important. While you import process, mark the certificate as exportable. This allows you to export the certificate afterwards with the older Triple-DES-SHA1 algorithm or/and with no password to protect the key.

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

  3. RAN55 176 Reputation points
    2022-09-08T06:17:04.927+00:00

    No more help ? microsoft oficial forum ?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.