Changing createCredentials to tls.createSecureContext 
Changing createCredentials to tls.createSecureContext 

I had a deprecation message when haraka start about createCredentials that told me to use the tls function instead.
Here is the doc: https://nodejs.org/api/crypto.html#crypto_crypto_createcredentials_details
It shows that it is the same options as well but i'm not sure about the bug mentioned in the file comment and how to exactly test it so if someone want me to make some more test with something specific let me know
smfreegard/Haraka,jjz/Haraka,typingArtist/Haraka,danucalovj/Haraka,typingArtist/Haraka,bsmr-x-script/Haraka,hatsebutz/Haraka,jjz/Haraka,craigslist/Haraka,craigslist/Haraka,MignonCornet/Haraka,Synchro/Haraka,jaredj/Haraka,msimerson/Haraka,msimerson/Haraka,Dexus/Haraka,jaredj/Haraka,craigslist/Haraka,zombified/Haraka,haraka/Haraka,zombified/Haraka,haraka/Haraka,haraka/Haraka,MignonCornet/Haraka,smfreegard/Haraka,baudehlo/Haraka,baudehlo/Haraka,fatalbanana/Haraka,DarkSorrow/Haraka,AbhilashSrivastava/haraka_sniffer,typingArtist/Haraka,craigslist/Haraka,Synchro/Haraka,danucalovj/Haraka,Synchro/Haraka,Dexus/Haraka,slattery/Haraka,zombified/Haraka,AbhilashSrivastava/haraka_sniffer,baudehlo/Haraka,hatsebutz/Haraka,jaredj/Haraka,fatalbanana/Haraka,zombified/Haraka,MignonCornet/Haraka,fatalbanana/Haraka,baudehlo/Haraka,slattery/Haraka,DarkSorrow/Haraka,danucalovj/Haraka,Synchro/Haraka,Dexus/Haraka,jaredj/Haraka,hatsebutz/Haraka,typingArtist/Haraka,haraka/Haraka,jjz/Haraka,MignonCornet/Haraka,AbhilashSrivastava/haraka_sniffer,DarkSorrow/Haraka,bsmr-x-script/Haraka,jjz/Haraka,hatsebutz/Haraka,bsmr-x-script/Haraka,Dexus/Haraka,danucalovj/Haraka,smfreegard/Haraka,msimerson/Haraka,fatalbanana/Haraka,bsmr-x-script/Haraka,smfreegard/Haraka,msimerson/Haraka,slattery/Haraka,slattery/Haraka,DarkSorrow/Haraka,AbhilashSrivastava/haraka_sniffer