Configure WebGUI certificate from CLI (PanOS 9.0)

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

Configure WebGUI certificate from CLI (PanOS 9.0)

L3 Networker

Dear all,

lost access to the WebGUI.

opaque: websrvr: Exited 4 times, waiting 1770 seconds to retry

 

Before that I received another email from the firewall:

opaque: Shared certificate xxx and corresponding key have expired.

(OK, I know, my fault)

 

So I suspect that this is the reason for the web server failing.

 

All instructions I found so far talk about issuing a new self-signed certificate from the WebGUI.

 

How do I do that from the CLI?

 

request certificate generate name "paab.xyz.local" certificate-name "paabself" algorithm RSA 2048

returns

Invalid syntax

 

Regards,

    Andreas

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@idelconsulting 

You're just missing the rsa-nbits part of the command.

request certificate generate name "paab.xyz.local" certificate-name "paabself" algorithm RSA rsa-nbits 2048

View solution in original post

3 REPLIES 3

Cyber Elite
Cyber Elite

@idelconsulting 

You're just missing the rsa-nbits part of the command.

request certificate generate name "paab.xyz.local" certificate-name "paabself" algorithm RSA rsa-nbits 2048

Thanks, wasn't really clear from the CLI TAB expansion.

 

I managed to get it working again by following the steps in:

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Cli0CAC

 

Regards,

    Andreas

Hi, 

How impactful is this procedure?  Is it something that is safe to run during business hours?

 - Thank you

  • 1 accepted solution
  • 10289 Views
  • 3 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!