Added option to provide ssl ca cert file