Skip to content

PANOS deploy plugin can't handle wildcard certs #4309

Closed
@Jayman007

Description

@Jayman007

I have been using acme with the panos deploy-hook to successfully issue/renew my LE certs and upload them to my Pano firewall. The issue is with wildcard certs. The certs issue fine and I can find them all in
/root/.acme/*.mydomain.com. The issue is with the deploy-hook panos. Pano does not like certs that begin with * and will through an error if you try and push one to it.

[Thu Sep 15 16:49:47 PDT 2022] certificate -> certificate-name '*.mydomain.com' is invalid]]> certificate -> certificate-name is invalid]]>
[Thu Sep 15 16:49:48 PDT 2022] private-key -> name '*.mydomain.com.key' is invalid]]> private-key -> name is invalid]]>

I am stuck with manually renaming the key to something like wildcard.mydomain.com and them manually importing them into the firewall. Obviously I would like to automate this process if possible. Is there a way to have the deploy-hook panos module rename the files from *.mydomain to wildcard.mydomain prior to trying to deploy them? I'm open to other solutions that might work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions