mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 10:39:29 +02:00
Add certfile when acquired
This commit is contained in:
parent
9b3e160e18
commit
f2876bdad7
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue