Template for using SoapStubAdapter with https protocol
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
I want to use SoapStubAdapter with https to connect to my vcenter.
I created a cert file and key file by using connect.SmartConnectNoSSL and extension manager.
I am getting ssl.sslerror: [ssl: certificate_verify_failed] certificate verify failed (_ssl.c:727) with the following code:
stub = SoapStubAdapter(
url="https://host_ip:443/sdk/vimService",
certFile=cert_file,
certKeyFile=key_file)
Is there any template to use https connection using certificate key and file for SoapStubAdapter? I am using python 2.7.5 for this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SoapStubAdapter entry point and review the reported Python 2.7.5 usage with certFile, certKeyFile, and the HTTPS vCenter URL. Document a minimal HTTPS certificate-and-key template that addresses the reported certificate verification failure, with completion shown by a clear working example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100