简体   繁体   English

如何将CA SSO(CA Siteminder)SAML IdP配置为asp.net azure Web应用程序?

[英]How to configure CA SSO(CA Siteminder) SAML IdP to asp.net azure web apps?

I have an azure web app. 我有一个天蓝色的Web应用程序。 Now, I am trying to install shibboleth service provider for my web app. 现在,我正在尝试为我的Web应用程序安装shibboleth服务提供商。 I found a way to do this though this blog . 我通过这个博客找到了一种方法。 Is there any other way to set up shibboleth sp without installing a VM on azure? 还有其他方法可以设置shibboleth sp而不在Azure上安装VM吗?

I have searched a lot on web but all they show is to set up SSO in azure using Azure active directory as IdP. 我在网上进行了大量搜索,但它们显示的只是使用Azure活动目录作为IdP在azure中设置SSO。

Is there any way to configure my external Idp to web app in azure? 有什么方法可以在Azure中将我的外部Idp配置为Web应用程序?

SSL is the first layer of defense for an SSO web application. SSL是SSO Web应用程序的第一道防线。 Thus you must obtain an SSL certificate for your web site's URL. 因此,您必须获得网站URL的SSL证书。

The biggest trick seems to be configuring Azure and Visual Studio to not get confused between the remote desktop certificate and the SSL certificate. 最大的窍门似乎是将Azure和Visual Studio配置为不使远程桌面证书和SSL证书混淆。 The Azure instructions for configuring SSL you could refer to. 您可以参考Azure有关配置SSL的说明。

Here are the most important points as below: 以下是最重要的几点:

1.You will need to have the certificate in a PFX file so it can be uploaded to Azure. 1.您需要将证书保存在PFX文件中,以便可以将其上传到Azure。 This PFX file must contain the certificate's private key! 此PFX文件必须包含证书的私钥! You will also need the certificate thumbprint. 您还将需要证书指纹。

2.Modify the cloud service's service definition and service configuration files. 2.修改云服务的服务定义和服务配置文件。

3.Upload the SSL certificate to your cloud service application. 3.将SSL证书上传到您的云服务应用程序。

4.Now the SSL-modified cloud service application needs to be uploaded to Azure. 4.现在,需要将经过SSL修改的云服务应用程序上载到Azure。

5.Browse to your web site using HTTPS. 5.使用HTTPS浏览到您的网站。 Fingers crossed! 手指交叉! It should work but HTTP should be rejected. 它应该可以工作,但是应该拒绝HTTP。

If you need to set up a test IdP, Microsoft has produced a series of videos on how to do this. 如果您需要设置测试IdP,Microsoft已制作了一系列有关如何执行此操作的视频

Of course there is the Shibboleth IdP documentation at shibboleth.net . 当然,在shibboleth.net上有Shibboleth IdP文档。

You should also have downloaded the Shibboleth SP 64-bit Windows/IIS 7 MSI file. 您还应该下载了Shibboleth SP 64位Windows / IIS 7 MSI文件。 Get the latest version from the download site . 下载站点获取最新版本。

Now when you browse to your Azure web site you should be redirected to your IdP's login page. 现在,当您浏览到Azure网站时,应该将您重定向到您的IdP登录页面。 Once you successfully log in you should be redirected back to your web app. 成功登录后,应将您重定向回您的Web应用程序。 There will now be session variables that contain authentication attributes such as IdP URN, user name, and so on. 现在将有包含身份验证属性(例如IdP URN,用户名等)的会话变量。

For more details, you could refer to this blog . 有关更多详细信息,您可以参考此博客

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ca siteminder saml sso proxyrule 命名空间案例无法转发 - ca siteminder saml sso proxyrule namespace case can not forward asp.net web 表格中的 SAML SSO - SAML SSO in asp.net web form 使用ADFS 2.0和SAML 2.0进行Web SSO时,我的asp.net网站是否需要重定向到IdP服务器吗? - Does my asp.net web site need to do redirect to IdP server when doing web sso with ADFS 2.0 and SAML 2.0 CA SiteMinder Web代理如何与IIS一起使用? - How does CA SiteMinder web agent work with IIS? 如何从 Spring + React 应用程序中检索 SSO CA Siteminder 的标头 - How to retrieve SSO CA Siteminder's headers from Spring + React application Spring Boot Tomcat嵌入了CA SSO / Siteminder拦截 - Spring Boot Tomcat Embed CA SSO / Siteminder Intercept 如何将openam配置为身份提供程序(IdP)以测试基于SAML的SSO - how to Configure openam as Identity provider(IdP) to test SAML based SSO SAML SSO - 如何配置动态 ACS URL(SalesForce 是 IdP) - SAML SSO - How to configure a dynamic ACS URL (SalesForce is IdP) 如何使用表单身份验证作为 SAML SSO ID 提供程序启用 ASP.NET MVC Web 应用程序? - How to enable an ASP.NET MVC web app using Forms Authentication as a SAML SSO ID Provider? 如何在asp.net网站上启用saml 2.0 sso - How to enable saml 2.0 sso in asp.net website
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM