Change in vdsm[master]: vdsm-reg: use web server CA extracted from SSL handshake
Alon Bar-Lev
alonbl at redhat.com
Sat Oct 6 19:50:25 UTC 2012
Alon Bar-Lev has posted comments on this change.
Change subject: vdsm-reg: use web server CA extracted from SSL handshake
......................................................................
Patch Set 2: (1 inline comment)
....................................................
File vdsm_reg/deployUtil.py.in
Line 1578:
Line 1579: """
Line 1580: try:
Line 1581: chain = getChainFromSSL((IP, port))
Line 1582: cert = chain[-1]
This is the last element in the chain = CA.
Notice I used two variables!!!!
Line 1583: _, _, engineWebCACert = certPaths('')
Line 1584: dirName = os.path.dirname(engineWebCACert)
Line 1585: if not os.path.exists(dirName):
Line 1586: os.makedirs(dirName)
--
To view, visit http://gerrit.ovirt.org/8386
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iab8727a167de19ac66712309868654ae00c9bf4d
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
More information about the vdsm-patches
mailing list