我有一个带有Geode的C#本地客户端。我现在已经使定位器/服务器端SSL和Swagger和Pulse都正常工作了。
因此,我在我的本地客户端中添加了以下内容:
.Set("log-file", "my.log")
.Set("log-level", "all")
.Set("ssl-enabled", "true")
.Set("ssl-keystore", "my.pem")等等,当池工厂试图连接到SSL定位器时,Geode日志显示:
[finer 2017/10/02 16:11:37.176509 GMT Daylight Time ISLPC02:1988 3740 Querying locator at [#.#.#.#:10334] for queue server from group []
[info 2017/10/02 16:11:37.176509 GMT Daylight Time ISLPC02:1988 8744] ClientMetadataService started for pool myPool
[info 2017/10/02 16:11:37.176509 GMT Daylight Time ISLPC02:1988 3740] Using socket send buffer size of 64240.
[info 2017/10/02 16:11:37.176509 GMT Daylight Time ISLPC02:1988 3740] Using socket receive buffer size of 64240.
[debug 2017/10/02 16:11:37.176509 GMT Daylight Time ISLPC02:1988 3740] Creating SSL socket stream
[error 2017/10/02 16:11:37.192108 GMT Daylight Time ISLPC02:1988 3740] cannot open library: cryptoImpl因此,我从本机客户端目录中获得了cryptoImpl.dll,并将其添加到我的客户端目录中,同样的错误。我更改了Windows路径,同样的错误。复制dll到多个目录和相同的错误。
还有谁看过这个吗?
发布于 2018-05-16 16:00:34
为了使SSL与Geode C#客户端一起工作,必须将cryptoImpl.dll包含在应用程序的工作目录中,或者将其添加到Windows系统环境变量中。
另一个要求是将OpenSSL v1.0.2添加到Windows系统环境变量中,因为这是cryptoImpl.dll的依赖项。您可以在线搜索,从任意数量的镜像下载OpenSSL v1.0.2。
发布于 2020-07-16 17:21:06
当我这么做时,正如@mcmellawatt所说,下载了64位版本的OpenSSL v1.0.2,然后将libeay32.dll、ssleay32.dll和cryptoImpl.dll添加到Windows中,我的本地客户端应用程序启动时没有cannot open library: cryptoImpl错误。
但是,通过本机客户端这里的SSL示例,没有实际连接到启用了remotel SSL的服务器,但有错误:
No locators available ---> Apache.Geode.Client.NoAvailableLocatorsException
https://stackoverflow.com/questions/46528642
复制相似问题