Storing cert without host in forgetful storage.

pull/632/head
jMyles 2019-01-10 14:28:05 -05:00
parent f93f3f1987
commit 53d4c70d9d
1 changed files with 1 additions and 2 deletions

View File

@ -727,8 +727,7 @@ class Ursula(Teacher, Character, Miner):
certificate = network_middleware.get_certificate(host=host, port=port)
real_host = certificate.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value
temp_node_storage = ForgetfulNodeStorage(federated_only=federated_only)
certificate_filepath = temp_node_storage.store_host_certificate(host=real_host,
certificate=certificate)
certificate_filepath = temp_node_storage.store_host_certificate(certificate=certificate)
# Load the host as a potential seed node
potential_seed_node = cls.from_rest_url(
host=real_host,