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
This might be an issue but it's also very likely this is possible and I just don't know how to do it.
I am using aws-sdk-cpp on Windows and have a custom build of OpenSSL and Curl. When I try to make an https request using Curl directly, I get the error:
SSL peer certificate or SSH remote key was not OK
I can fix this by either setting a certificate with
But it would be nice if I could just use the operating system's native CA store.
Is there a way to do this that I'm not seeing? I initialize Curl outside of aws-sdk-cpp and I've tried setting the property right after curl_global_init(CURL_GLOBAL_ALL);.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
This might be an issue but it's also very likely this is possible and I just don't know how to do it.
I am using aws-sdk-cpp on Windows and have a custom build of OpenSSL and Curl. When I try to make an
httpsrequest using Curl directly, I get the error:I can fix this by either setting a certificate with
(Where
"cacert.pem"is one I grabbed from here).Or I can use:
Where
CURLSSLOPT_NATIVE_CAstates "Tell libcurl to use the operating system's native CA store for certificate verification" (see here for more info).The problem with this option is I don't see a way to pass that through to AWS SDK. I can get things to work if I use:
But it would be nice if I could just use the operating system's native CA store.
Is there a way to do this that I'm not seeing? I initialize Curl outside of aws-sdk-cpp and I've tried setting the property right after
curl_global_init(CURL_GLOBAL_ALL);.Something like...
But that unfortunately does not seem to work. If there's a way to do this I'd be really curious to know. Thank you!
All reactions