fixing bugs in cacert installation
suppressing diag msgs