Expand a ~ in the ca-cert-file argument.