-
Notifications
You must be signed in to change notification settings - Fork 768
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: SoapStubAdapter and the connect.py wrappers now allows passing a serverPemCert parameter. serverPemCert is an ASCII string of a PEM-encoded SSL certificate of the host to which a connection is attempted. A replacement of thumbprint. If both fields are set, thumbprint should match serverPemCert. CertificateMismatchException is thrown when there's a mismatch. If the standard SSL verifications fails if serverPemCert or thumbprint is provided try to connect with an unverified connection and try to match the peer certificate else fail pyVmomi now has a single point of establishing a server connection SoapAdapter._Connect() Breaking changes in SoapAdapter.py: HTTPProxyConnection is removed because it is unnecessary as the connection logic is now streamlined SSLTunnelConnection is removed and replaced by _SSLTunnelConnection which inherits Python's standard HTTPSConnection. UnixSocketConnection is removed and replaced by _UnixSocketConnection which inherits Python's standard HTTPConnection.
- Loading branch information
ddraganov
committed
Jul 31, 2024
1 parent
e4fd849
commit 9a8956f
Showing
3 changed files
with
207 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.