25
1
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:
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 ->