Mathias75000
asked on
Merging certificat with private key
Hello,
I'll try to explain my problem clearly :)
i need a certificat with a private key inside.
All my certificate are issued by verisign,
I've got a private key in a file "myprivatekey.pem"
I've got my certificate chain like that :
Verisign1 -> Verisign2 -> Mycert
theses certificat doesn't have any privatekey
I want to merge "Mycert.cer" and "myprivatekey.pem" to have a certificate with the private key.
I searched lot of stuff on internet and i tried many ways with openssl
like that :
verify my key:
openssl rsa -noout -text -in c:\ssl\myprivatekey.pem
--> OK !
i convert my cer files in pem files --> OK !
and when i tried to merge :
C:\OpenSSL-Win32\bin>opens sl pkcs12 -export -inkey c:\ssl\myprivatekey.pem -i
n c:\ssl\mycert.pem -out pkcs12.p12 -name test
Loading 'screen' into random state - done
No certificate matches private key
i just can't understand ...
plz advice.
Bye
Mat
I'll try to explain my problem clearly :)
i need a certificat with a private key inside.
All my certificate are issued by verisign,
I've got a private key in a file "myprivatekey.pem"
I've got my certificate chain like that :
Verisign1 -> Verisign2 -> Mycert
theses certificat doesn't have any privatekey
I want to merge "Mycert.cer" and "myprivatekey.pem" to have a certificate with the private key.
I searched lot of stuff on internet and i tried many ways with openssl
like that :
verify my key:
openssl rsa -noout -text -in c:\ssl\myprivatekey.pem
--> OK !
i convert my cer files in pem files --> OK !
and when i tried to merge :
C:\OpenSSL-Win32\bin>opens
n c:\ssl\mycert.pem -out pkcs12.p12 -name test
Loading 'screen' into random state - done
No certificate matches private key
i just can't understand ...
plz advice.
Bye
Mat
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yep but i need a certificat with the private key to sign my rdp file, that's why...
but i think i'll just ask for a another pair, it'll be easier ;)
thanks for the help !
but i think i'll just ask for a another pair, it'll be easier ;)
thanks for the help !
ASKER
partially.
ASKER
My new certificat "Mycert" is just the new one for 2011.
so it should be ok ?