1
0
Fork 0
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:
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 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 ->