Commit ad0ef193 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

CertStore: Add cert to cache on add_certificate()

Otherwise the cert is only available after a restart

Fixes #10160
parent 644b4374
...@@ -62,6 +62,7 @@ class CertificateStore: ...@@ -62,6 +62,7 @@ class CertificateStore:
def add_certificate(self, certificate): def add_certificate(self, certificate):'Add certificate to trust store')'Add certificate to trust store')
pem = certificate.props.certificate_pem pem = certificate.props.certificate_pem
path = self._get_random_path() path = self._get_random_path()
write_file_async(path, write_file_async(path,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment