title: AWSSDK Got error `Unable to load DLL 'Crypt32.dll'` in macos
body: <p>I don't know the reason but it might be because macOS was recently updated to <code>10.13.1 (17B48)</code>. The code that used to worked some weeks ago just crash with this error </p>
  
  <blockquote>
    <p>"Unable to load DLL 'Crypt32.dll': The specified module could not be found.\n (Exception from HRESULT: 0x8007007E)"</p>
  </blockquote>
  
  <p>It only happen in macos and not the production platform (docker linux). And it got thrown from the <code>lambda.GetFunctionConfigurationAsync</code></p>
  
  <p>The import config is <code>&lt;PackageReference Include="AWSSDK.Lambda" Version="3.3.*" /&gt;</code> and restored as <code>AWSSDK.Core 3.3.19</code></p>
  
  <blockquote>
    <p>dotnet --info
    .NET Command Line Tools (2.1.0-preview1-006547)</p>
    
    <p>Product Information:
     Version:            2.1.0-preview1-006547
     Commit SHA-1 hash:  3471d43796</p>
    
    <p>Runtime Environment:
     OS Name:     Mac OS X
     OS Version:  10.13
     OS Platform: Darwin
     RID:         osx.10.12-x64
     Base Path:   /usr/local/share/dotnet/sdk/2.1.0-preview1-006547/</p>
    
    <p>Microsoft .NET Core Shared Framework Host</p>
    
    <p>Version  : 2.0.3
      Build    : a9190d4a75f4a982ae4b4fa8d1a24526566c69df</p>
  </blockquote>