Bug/3362 check if cacert exists