PaloAltoNetworks / PaloAltoNetworks/pan-os-python

How can I ignore the certificate validation?

Open
#120 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
400
Forks
199
PR merge metrics
No merged PRs in 30d

Description

I have a test firewall to try pandevice without any valid SSL certificate. In order to work with XML APIs of Palo Alto, I use curl -k -X .

I am trying to use pandevice.

pandevice.errors.PanURLError: URLError: reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

I guess its warning on the SSL certificate. Is there a way, I can ignore the certificate checks?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names pandevice and its XML API path but no file or test. Start by reproducing the CERTIFICATE_VERIFY_FAILED error against the test firewall and trace where the SDK creates its HTTPS request. Done means the behavior is supported and documented without weakening default certificate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.