add arguments to specify various credentials
fix error in ca path
add more ways to find info on server CA