Category

C#

7 posts

2 comments ASP.Net C#

C# SAML 2.0 SSO – Tips and Pitfalls

Recently, one of my clients decided to support the SAML 2.0 for SSO to their website. Since, the plan was to just support it as Service Provider, it was decided to use a custom implementation in C# as the overall concept and idea is of SAML sounds very simple. In the end, even though we were able to make the service work and running in less than 2 days for internal demo, we ran into many integration problem when working with Identity Providers of client using the different SAML 2.0 implementation on various platforms. We run into problems like:

– Some clients were using Deflated XML while others were not
– Encryption Algorithms Choice per client
– Difference in the NameID format being used
– Difference in how SAML attributes were being communicated/passed

Continue reading C# SAML 2.0 SSO – Tips and Pitfalls
C# Windows

SQL Server 2012 and TLS 1.0 Compatibility Fixes

Few days ago, I have to disable TLS 1.0 on one of our Windows 2012 Server for PCI Compliance. This machine was also acting as Database server, and runs MS SQL Server 2012. After disabling the TLS 1.0 (using IISCrypto tool), I ran into SQL Server compatibility issues where first the SQL Server Service wouldn’t start, and once that issue was fixed, SQL Server Management Studio failed to connect with that SQL Server. Thanks to the RobWillis.info post, I was able to solve both of these issues.

Continue reading SQL Server 2012 and TLS 1.0 Compatibility Fixes