Solved

Resolving Exchange 2013 FBA logon page "loop"

Posted on 2016-10-14
1
34 Views
Last Modified: 2016-11-01
My customer is affected by the Forms-based authentication problem described in this TechNet blog article:

https://blogs.technet.microsoft.com/jasonsla/2015/01/15/the-one-with-the-fba-redirect-loop/

Specifically, installing a new SHA-2 based certificate causes OWA and ECP logins to 'loop' back to the login prompt even when correct credentials are supplied. The customer is running a single instance of Exchange 2013 CU 10 (build 15.0.1130.7).

I confirmed we're affected by the issue described because running certutil -store my [certificateSerialNumber] against the new cert receives a reply of "Provider = Microsoft Software Key Storage Provider", when in fact what Exchange supports is "Provider = Microsoft RSA SChannel Cryptographic Provider".  In other words, it's a KSP-based certificate, and apparently Exchange 2013 FBA expects CSP-based ones.

Here's what doesn't make sense.  We use an SSL certificate supplied by a third party CA (NameCheap/Comodo). That being the case:

1) Does his solution require us to go back to our third party provider, and get a reissued certificate?  If so, what do I ask for?  

2) Or can I use certutil as he describes, to "import the certificate into a CSP"?  In other words, does running certutil -csp "Microsoft RSA SChannel Cryptographic Provider" -importpfx <CertificateFilename> work if you're NOT running your own in-house CA, and using a third party provider like Namecheap/Comodo/GoDaddy?

3) Will that command work against .cer files, or do they need to be in another format?

4) Is there a simpler solution to this, e.g. installing the latest cumulative update, which is CU 14? Or does Exchange 2013 FBA still not support KSP certificates?
0
Comment
Question by:AA-in-CA
1 Comment
 
LVL 38

Accepted Solution

by:
Adam Brown earned 500 total points
Comment Utility
1. Possibly.
2. You can *try* this by Exporting your Exchange certificate to a .PFX file using the following command:
Export-ExchangeCertificate -Thumbprint <thumbprint> -FileName <path to store the file> -BinaryEncoded -Password (ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force)

Open in new window

Once you have the PFX export of the cert you're using, you can then delete the certificate in IIS and reboot, then run the certutil command using the .pfx file you exported. That *should* successfully migrate the certificate, but be aware that you may be locked into using a KSP because the certificate was generated to require KSP use. If this solution doesn't work, you will need to generate a new certificate.
3. No. Only PFX files, but you can export any certificate as a PFX file as long as it was configured to allow export when originally installed.
4. KSP is still not supported, so no.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now