Skip to content

Commit

Permalink
Fixed issue with x509 parm in WBEMConnection
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Dec 15, 2019
1 parent 9c2e5bc commit f3d8aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Released: not yet
* Fixed issue where extra diagnostic information about click was being displayed
when the general option --verbose was defined.

* Fixed issue with x509 parameter of WBEMConnection. (See issue #468)

**Enhancements:**

* Add capability to reorder commands in the help for each group. The commands
Expand Down
4 changes: 2 additions & 2 deletions pywbemtools/pywbemcli/_pywbem_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@ def create_connection(self, log=None, use_pull=None, pull_max_cnt=None,
# info)
x509_dict = None
if self.certfile is not None:
x509_dict = {"certfile": self.certfile}
x509_dict = {"cert_file": self.certfile}
if self.keyfile is not None:
x509_dict.update({'keyfile': self.keyfile})
x509_dict.update({'key_file': self.keyfile})

# Create the WBEMConnection object and the _wbem_server object

Expand Down

0 comments on commit f3d8aa8

Please sign in to comment.