1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 02:29:34 +02:00

Add certfile when acquired

This commit is contained in:
Konstantinos Kallas 2017-08-22 10:12:42 +03:00
parent 9b3e160e18
commit f2876bdad7

View file

@ -970,6 +970,7 @@ save_certificate({ok, DomainName, Cert}) ->
path = CertificateFile
},
add_certificate_persistent(DataCert),
ejabberd_pkix:add_certfile(CertificateFile),
{ok, DomainName, saved}
catch
throw:Throw ->