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 ??