Add validation using provider's ca . Closes #3227.
Merge remote-tracking branch 'ivan/feature/3227_TOFU-provider' into develop