Azure App Service Webアプリケーションの証明書にアクセスするには、Azure Webサイトの証明書コレクションに証明書をアップロードして、Webアプリケーションでサイトの個人証明書ストア。
証明書アプリケーション
に証明書を消費
の拇印に設定された値で指定WEBSITE_LOAD_CERTIFICATES設定アプリの追加
証明書をアップロード0123詳細については
X509Certificate2 retVal = null; X509Store certStore = new X509Store(StoreName.My, StoreLocation.CurrentUser); certStore.Open(OpenFlags.ReadOnly); X509Certificate2Collection certCollection = certStore.Certificates.Find(X509FindType.FindByThumbprint, thumbprint, false); if (certCollection.Count > 0) { retVal = certCollection[0]; } certStore.Close();
、確認してください:Using Certificates in Azure Websites Applications
ありがとうございました!はい、私はこの重要な一歩を逃していました –