Added better security to ssl config.