cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to import new certificate

Jump to solution

When trying to import User interface Certificate in PEM format i get this error:

 

Certificate and private key do not match

 

When testing certificate all is correct.

Med venlig hilsen/Best regards
Morten Packert
1 Solution

Accepted Solutions
Highlighted
Reliable Contributor marcus69
Reliable Contributor
Report Inappropriate Content
Message 2 of 4

Re: Not able to import new certificate

Jump to solution

Hi Morten,

please check your private Key file. For importing certificates into McAfee Webgateway you need to have a RSA private key.
So open your private key file with a text editor and check the first line, it should begin like this:




----- BEGIN RSA PRIVATE KEY ----

... if the "RSA" is missing, you have to convert it with OpenSSL using the following syntax:

openssl rsa -in myprivate.key -out myprivateRSA.key

After that you may retry the import using the converted RSA Key.


Best Regards,
    Marcus


Tags (1)
3 Replies
Highlighted
Reliable Contributor marcus69
Reliable Contributor
Report Inappropriate Content
Message 2 of 4

Re: Not able to import new certificate

Jump to solution

Hi Morten,

please check your private Key file. For importing certificates into McAfee Webgateway you need to have a RSA private key.
So open your private key file with a text editor and check the first line, it should begin like this:




----- BEGIN RSA PRIVATE KEY ----

... if the "RSA" is missing, you have to convert it with OpenSSL using the following syntax:

openssl rsa -in myprivate.key -out myprivateRSA.key

After that you may retry the import using the converted RSA Key.


Best Regards,
    Marcus


Tags (1)

Re: Not able to import new certificate

Jump to solution

Fantastic - thnx it worked 😊

 

Med venlig hilsen/Best regards
Morten Packert
Reliable Contributor marcus69
Reliable Contributor
Report Inappropriate Content
Message 4 of 4

Re: Not able to import new certificate

Jump to solution


Hi Morten,

your're very welcome, glad i could help.
Thank You for sending Kudos 😺

Best regards
   Marcus

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • 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 the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

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