API error messages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API error messages

L3 Networker

Hi all

 

This error message keeps coming up:

 

The latest API KeyGen was executed on <date and time> with the deprecated algorithm. You are advised to configure the more secure API key infrastructure by web interface: Setup -> Management -> Authentiation Settings -> API Key Certificate, or by CLI: set deviceconfig setting management api key certificate

 

API certificate is not even set up.

This has happened over 100 times in the system logs. Can this error be stopped and how will it affect the admin users?

 

s0lselcia_0-1726499809677.png

 

16 REPLIES 16

L1 Bithead

I fixed it on sw-version: 11.2.10 like this.. (7300 is the max allowed number of days - 20yrs), enjoy:

 

> request certificate generate ca yes days-till-expiry 7300 algorithm RSA rsa-nbits 4096 certificate-name API-test name API-test

> configure
# set deviceconfig setting management api key certificate API-test
# commit

It is not complaining about the presence or absence of the API Key, but rather the certificate to be used by the API-key, you don't need to configure an API-key to get rid of the error, you just need to choose/create a cert to be used by the API-key should you ever configure the API key. Basically, for your security, Palo is getting out of the business of providing factory created certs, and now they want the user to generate certs locally or provide them via CA, but factory-provided certs have become a liability for obvious reasons.

  • 12708 Views
  • 16 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!