Configure WebGUI certificate from CLI (PanOS 9.0)

Announcements

ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

Reply
Highlighted
L2 Linker

Configure WebGUI certificate from CLI (PanOS 9.0)

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

Tags (2)

Accepted Solutions
Highlighted
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


All Replies
Highlighted
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

Highlighted
L2 Linker

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

Highlighted
L0 Member

Hi, 

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

 - Thank you

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 Live Community as a whole!

The Live Community thanks you for your participation!