Community discussions

MikroTik App
 
und3ath
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Mon Mar 23, 2009 7:01 pm

problem with decryption of private key

Mon Jul 20, 2009 6:41 pm

I created server certificate on CAcert.org. Than I successfully imported it to RouterOS. Also I imported private-key.pem

When I try to decrypt the private key, following happens:
[admin@MikroTik] /certificate> import
passphrase: ***********
certificates-imported: 1
private-keys-imported: 1
files-imported: 2
decryption-failures: 0
keys-with-no-certificate: 0

[admin@MikroTik] /certificate> print
Flags: K - decrypted-private-key, Q - private-key, R - rsa, D - dsa
0 QR name="cert1" subject=CN=********
issuer=O=Root CA,OU=http:,,www.cacert.org,CN=CA Cert Signing Authority,
emailAddress=support@cacert.org
serial-number="072B5C" invalid-before=jul/20/2009 15:27:41 invalid-after=jan/16/2010 15:27:41
ca=yes
[admin@MikroTik] /certificate> decrypt
passphrase: ***********
keys-decrypted: 0

[admin@MikroTik] /certificate>


So my 1st question: private-key.pem is the same file which was generated by the create-certificate-request command?
2nd question: why there are keys-decrypted:0 ??
 
und3ath
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Mon Mar 23, 2009 7:01 pm

Re: problem with decryption of private key

Wed Jul 22, 2009 1:52 pm

the same happens, when I generate certificate with openssl... :(

Who is online

Users browsing this forum: heidarren and 65 guests