-1

When i try to import certificate on server 2012 it say password incorrect.

I have check this post: "The password you entered is incorrect" when importing .pfx files to Windows certificate store

And i exported: openssl.exe pkcs12 -in 'C:\cert.p12' -out C:\key.pem And created the new cert: openssl.exe pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in 'C:\key.pem' -out 'C:\newcert.pfx' -name "newcert"

But when i try to import in server 2012 keep saying password incorrect.

bartonjs
  • 30,352
  • 2
  • 71
  • 111
RAN55
  • 1
  • 5

2 Answers2

0

The top answer in that post adds -nomac, which you didn't. Instead of turning off the MAC entirely, you could also try -macalg sha1.

--Something witty here questioning the use of a 10 year old OS (that only has 13 months of security updates remaining)--

bartonjs
  • 30,352
  • 2
  • 71
  • 111
  • My cert is .p12 i exported the .pem file, so i dont understand what the files .crt and .key do. – RAN55 Sep 07 '22 at 06:35
-1

For those who need it, i finally got it. Before execute the command from the other post, you have to export .key and .crt from your .p12 or .pfx certificate.

RAN55
  • 1
  • 5