Added possibility to use client certificate and trusted certification authority file