mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Add certfile when acquired
This commit is contained in:
parent
9b3e160e18
commit
f2876bdad7
@ -970,6 +970,7 @@ save_certificate({ok, DomainName, Cert}) ->
|
|||||||
path = CertificateFile
|
path = CertificateFile
|
||||||
},
|
},
|
||||||
add_certificate_persistent(DataCert),
|
add_certificate_persistent(DataCert),
|
||||||
|
ejabberd_pkix:add_certfile(CertificateFile),
|
||||||
{ok, DomainName, saved}
|
{ok, DomainName, saved}
|
||||||
catch
|
catch
|
||||||
throw:Throw ->
|
throw:Throw ->
|
||||||
|
Loading…
Reference in New Issue
Block a user