Slightly better wording around certs.
This commit is contained in:
parent
2c7e6502f8
commit
94e8abe934
4
av98.py
4
av98.py
|
@ -1046,14 +1046,14 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
|
||||||
|
|
||||||
@restricted
|
@restricted
|
||||||
def do_cert(self, line):
|
def do_cert(self, line):
|
||||||
"""Set or clear a client certificate"""
|
"""Manage client certificates"""
|
||||||
print("Managing client certificates")
|
print("Managing client certificates")
|
||||||
if self.client_certs["active"]:
|
if self.client_certs["active"]:
|
||||||
print("Active certificate: {}".format(self.client_certs["active"][0]))
|
print("Active certificate: {}".format(self.client_certs["active"][0]))
|
||||||
print("1. Deactivate client certificate.")
|
print("1. Deactivate client certificate.")
|
||||||
print("2. Generate new certificate.")
|
print("2. Generate new certificate.")
|
||||||
print("3. Load previously generated certificate.")
|
print("3. Load previously generated certificate.")
|
||||||
print("4. Load client certificate from file.")
|
print("4. Load externally created client certificate from file.")
|
||||||
print("Enter blank line to exit certificate manager.")
|
print("Enter blank line to exit certificate manager.")
|
||||||
choice = input("> ").strip()
|
choice = input("> ").strip()
|
||||||
if choice == "1":
|
if choice == "1":
|
||||||
|
|
Loading…
Reference in New Issue