cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 5

Server private key certificate

Jump to solution
Attempting to install our own signed certs under Configuration | Server Settings | Server Certificate and when I load the PEM file I get an error saying The server certificate could not be updated since the uploaded private key file did not contain a valid private key.
1 Solution

Accepted Solutions
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 5

Re: Server private key certificate

Jump to solution

Hello @Former Member 

Thanks for your post!

I would like to request you to please refer the below KB article:

https://kcm.trellix.com/corporate/index?page=content&id=KB72477

The private key has to be extracted from the p12 cert and password removed before importing it into epo and the unencrypted private key is imported separate.

Was my reply helpful?

If you find this post useful, please give it a KudosAlso, please don't forget to select "Accept as a Solution" if this reply resolves your query!

View solution in original post

4 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 5

Re: Server private key certificate

Jump to solution

Hello @Former Member 

Thanks for your post!

I would like to request you to please refer the below KB article:

https://kcm.trellix.com/corporate/index?page=content&id=KB72477

The private key has to be extracted from the p12 cert and password removed before importing it into epo and the unencrypted private key is imported separate.

Was my reply helpful?

If you find this post useful, please give it a KudosAlso, please don't forget to select "Accept as a Solution" if this reply resolves your query!

cdinet
Employee
Employee
Report Inappropriate Content
Message 3 of 5

Re: Server private key certificate

Jump to solution

You can also use the private key that you generated in step one of that KB after removing password from it.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

rlrenne
Level 8
Report Inappropriate Content
Message 4 of 5

Re: Server private key certificate

Jump to solution

That KB is no longer available and this solution no longer works.

I have removed the password and still get same message:

 


The server certificate could not be updated since the uploaded private key file did not contain a valid private key.

 

cdinet
Employee
Employee
Report Inappropriate Content
Message 5 of 5

Re: Server private key certificate

Jump to solution

It is available, our site changed from McAfee to Trellix.  

https://kcm.trellix.com/corporate/index?page=content&id=KB72477

Refer to step 7

Using the OpenSSL toolkit and the encrypted .key file from step 1, and create an unencrypted version of the private key for inputting into ePO:

For OpenSSL version 1.x, use the command below:

openssl rsa -in c:\ssl\keys\mcafee.key -out c:\ssl\keys\unsecured.mcafee.pem

For OpenSSL version 3.x, use the commands below:

NOTE: This step is critical when using a higher version of OpenSSL or any method that generates the key in pkcs8 format. Currently, we don't support pkcs8 for the browser certificate, so it's necessary to convert the pkcs8 key to pkcs1. Both the commands need to be executed.

openssl pkcs8 -in c:\ssl\keys\mcafee.key -topk8 -nocrypt -out c:\ssl\keys\pkcs8mcafee.pem

openssl pkcs8 -in c:\ssl\keys\pkcs8mcafee.pem -traditional -nocrypt -out c:\ssl\keys\unsecured.mcafee.pem

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community