|
|
@ -39,6 +39,8 @@ def client_post_cert (client, clVars, show_info = False):
|
|
|
|
result_post_cert = _result_post_cert[1].integer
|
|
|
|
result_post_cert = _result_post_cert[1].integer
|
|
|
|
result_sid = _result_sid[1].integer
|
|
|
|
result_sid = _result_sid[1].integer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print _('client uses certificate %s') %client.CERT_FILE
|
|
|
|
|
|
|
|
print result_post_cert[0]
|
|
|
|
if result_post_cert[0] == -4:
|
|
|
|
if result_post_cert[0] == -4:
|
|
|
|
print _("Certificate not found on the server")
|
|
|
|
print _("Certificate not found on the server")
|
|
|
|
print _('client uses certificate %s') %client.CERT_FILE
|
|
|
|
print _('client uses certificate %s') %client.CERT_FILE
|
|
|
@ -49,6 +51,8 @@ def client_post_cert (client, clVars, show_info = False):
|
|
|
|
# client_sid(sid, client, cert_id = results[0][0], clVars = clVars)
|
|
|
|
# client_sid(sid, client, cert_id = results[0][0], clVars = clVars)
|
|
|
|
if result_post_cert[0] == -3:
|
|
|
|
if result_post_cert[0] == -3:
|
|
|
|
print _("Certificate not sent!")
|
|
|
|
print _("Certificate not sent!")
|
|
|
|
|
|
|
|
elif result_post_cert[0] == -2:
|
|
|
|
|
|
|
|
print _("Using upstreamer cert")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
if show_info:
|
|
|
|
if show_info:
|
|
|
|
print _(" Your certifitate ID = %d") %(result_post_cert[0])
|
|
|
|
print _(" Your certifitate ID = %d") %(result_post_cert[0])
|
|
|
|