You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop Visual C++ installation check and update user guide.
I took a closer look at this and found a helpful doc page:
https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#notes.
The Visual C++ version should be the same (or higher) as the version
used to build the provider, which in our case is 14.34 because IIUC
that's what comes pre-installed in the windows2019 kokoro image.
Let's drop the check for now as discussed, which results in the
not-as-friendly error message that I have added to the user guide.
At least it won't block user installation.
Note that the installer says "2015-2022" because
"Visual Studio versions since Visual Studio 2015 share the same
Redistributable files", per the link I shared above.
Also updated the user guide doc to reflect recent changes, and fixed the new
installer tests.
Bug: b/288279385
Bug: b/280633307
Change-Id: Ice8ee6c5e6828bcb66b8410d36f22502db59b57b
[`NCryptExportKey`][NCryptExportKey] | ⚠️ | Only supports public key export, since Cloud KMS private keys cannot be exported.
90
121
[`NCryptFinalizeKey`][NCryptFinalizeKey] | ❌ |
91
122
[`NCryptFreeBuffer`][NCryptFreeBuffer] | ✅ |
@@ -128,6 +159,43 @@ these characteristics:
128
159
The CNG provider returns an error when trying to load keys that don't conform to
129
160
these requirements.
130
161
162
+
## FAQs
163
+
164
+
### Issues during installation
165
+
166
+
If you see this error during the installation, Visual C++ is likely not installed
167
+
on your system:
168
+
```
169
+
There is a problem with this Windows Installer package. A DLL required for this
170
+
install to complete could not be run. Contact your support personnel or package
171
+
vendor.
172
+
```
173
+
174
+
The provider requires the preinstallation of the Visual C++ 2022 x64
175
+
Redistributable package (14.34 or higher), which can be downloaded
176
+
[here][msvc-redistributable].
177
+
178
+
### gRPC Could not get default PEM root certs
179
+
180
+
Sample error:
181
+
```
182
+
W0000 00:00:1687369894.825370 1892 logging.cc:39] [external/com_github_grpc_grpc/src/core/lib/security/security_connector/ssl_utils.cc:606]: load_file: UNKNOWN:Failed to load file {filename:"/usr/share/grpc/roots.pem", created_time:"2023-06-21T17:51:34.8251349+00:00", children:[UNKNOWN:No such file or directory [...]]}
183
+
W0000 00:00:1687369894.826457 1892 logging.cc:39] [external/com_github_grpc_grpc/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc:425]: Could not get default pem root certs.
184
+
```
185
+
186
+
If you see this error, it's likely because gRPC requires an environment variable
187
+
to find the root of trust for SSL. You can download the missing file and set the
0 commit comments