Can you submit stack trace from the command?
connect-ca $certsrv
$error[0].exception.innerexception.stacktraceconnect-ca $certsrv
$error[0].exception.innerexception.stacktrace