?
Solved

Resolving Exchange 2013 FBA logon page "loop"

Posted on 2016-10-14
1
Medium Priority
?
207 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 43

Accepted Solution

by:
Adam Brown earned 2000 total points
ID: 41844471
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

840 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