cannot connect to the endpoint use SSL #2161
Answered
by
jmklix
wuwei123123
asked this question in
Q&A
-
Aws::SDKOptions options;
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options);
Aws::Client::ClientConfiguration cfg;
cfg.endpointOverride = "isilon.xxxx.com:9021";
cfg.scheme = Aws::Http::Scheme::HTTPS;
cfg.verifySSL = false;
Aws::Auth::AWSCredentials cred("id", "key");
S3Client S3Client(cred, cfg, false, false);
auto response = S3Client.ListBuckets();
if (response.IsSuccess())
{
strInfo.Format("succ");
}
else
{
strInfo.Format("fail: %s,%s", response.GetError().GetExceptionName().c_str(), response.GetError().GetMessage().c_str());
}
AfxMessageBox(strInfo);
Aws::ShutdownAPI(options);
return;
|
Beta Was this translation helpful? Give feedback.
Answered by
jmklix
Nov 2, 2022
Replies: 1 comment 1 reply
-
Are you running into the same problem as described here: #1844? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jmklix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you running into the same problem as described here: #1844?