Encrypted Key File Uploaded. Decrypt it and upload again

Hello
Unable to Import Server key file in Manage Engine Mobile Device Manager Plus.(mdm)
Getting this error below.

i have created proxy server for mdm application. its working fine with SSL Certificate no issue at all.
But when its come to installing Certificate on Application Side getting this error belw
Encrypted Key File Uploaded. Decrypt it and upload again. R

From Centos9 Proxy Server. Copied Files.
But Still not able to install Key File

If you open the key file in a text editor it probably says -----BEGIN ENCRYPTED PRIVATE KEY----- at the top. You need to convert your key file to one that doesn't use a password.

How did you get your certificate (which ACME client?) and where did you get your file that you're using, did you convert it with openssl etc?

2 Likes

You could probably convert what you have (certificate full chain, plus key) into a PFX (p12 file) which is an archive that contains everything in one file.

2 Likes

SSLCertificateFile /etc/letsencrypt/live/mdm.XXX.com/fullchain.pem
** SSLCertificateKeyFile /etc/letsencrypt/live/mdm.XXX.com/privkey.pem**
** Include /etc/letsencrypt/options-ssl-apache.conf**

Yes converted key without password as well.

Using Openssl yes
openssl pkcs8 -topk8 -nocrypt -in /etc/letsencrypt/live/mdm.XXXX.com/privkey.pem -out /tmp/server.key

@webprofusion do you prefer any special cmd? Please advise

How to convert? you mean from Centos9 reverse proxy needs to be convert After copying files cert.pem and chain.pem and privkey.pem in to windows any tool to convert?

Please explain the step please

Ok if you have the key without the password then upload it (your /tmp/server.key file). The problem you were seeing was because the key had a password set.

Don't concern yourself with my PFX comment, that's too complicated and you don't need to do it.

1 Like

Can you share me the cmd let me try that

**openssl pkcs8 -topk8 -nocrypt -in /etc/letsencrypt/live/mdm.XXXX.com/privkey.pem -out /tmp/server.key

Share me what is the exact cmd should i try?

What happens if you rename a copy of privkey.pem to server.key and upload it?

3 Likes

Not Working @linkp

Have you opened a dialog with ManageEngine support?

4 Likes

key is in different format which is not supported from ME MDM. we have generated the CSR file, which need to be signed by the vendor and you can upload it back in MDM. Also make sure to upload the server generated key in the attached screenshot.


Can you give me the step using Manage Engine CSR File to execute the Certbot Let's encrpt certificate. then i can export key file?

You need to discuss this with ManageEngine support, you already have the certificate so the problem is with their product.

2 Likes