Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8989857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:21:52+00:00 2026-06-15T22:21:52+00:00

I have an application written in Rails that must be ran behind a IIS

  • 0

I have an application written in Rails that must be ran behind a IIS server due to restrictions by the client, the government. We have to have SSL authentication. So what I can’t figure out in my hours of searching Google is how to get IIS to pass the client certificate to the rails server (thin).

I’ve seen tutorials on Apache that use:

SSLOptions +ExportCertData

Which then make it available to the request object. Any ideas on how to configure IIS to do the same?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:21:53+00:00Added an answer on June 15, 2026 at 10:21 pm

    After being told this may be impossible. I’ve finally figured it out! Here are the steps that I took.

    1. Using OpenSSL create your own CA certificate.
    2. Using the generated CA certficate create and sign other certificates with Open SSL.
    3. Open Internet Information Service Manager click on the server, then click on server certificates. Server Certificate
    4. Click Import under the Actions column
    5. After importing click on your site.
    6. In the Actions column click bindings…
    7. Click add, scroll to https, and select the CA certificate that you imported
    8. Click on your site again to get to the menu and click on SSL settings
    9. Check require SSL and then click the radio buttion, require
    10. Click your site again then click on the configuration editor (installed in IIS 7.5 can add-in in 7.0)
      Configuration Editor
    11. Go to system.webServer/security/authentication/iisClientCertificateMappingAuthentication
    12. Set enabled to true
    13. Set manyToOneCertificateMappings to true
    14. Click on the … box on the far right-end of manyToOneMappingsConfiguration Editor
    15. Click add under actions column, under collections
    16. Add the username and password of the user you created (can be on local machine)the ... box
    17. Now, go to the main server and restart.
    18. You should be able to see the certificate using request.headers hash.

    Variables for the hash include:

    • CERT_SERIALNUMBER
    • CERT_SUBJECT
    • CERT_ISSUER
    • HTTPS_SERVER_ISSUER
    • HTTPS_SERVER_SUBJECT

    If you cannot find something you may have to install a module (for like authentication). I don’t remember which ones I installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a twitter like web application written in Ruby on Rails that allows
I have written a server/client application using sockets in C# for .NET 3.5. I'm
I have a little facebook iframe application written with rails and the facebooker plugin.
I have an application written using C++ Builder 5 that uses the TDocument class.
I have an application written in C# that invokes some C code as well.
I have written an application for an online clothing store in Rails 2.3.5. I
I have a simple point of sale application written in ruby and rails, and
We've got an application written in Delphi that uses Delphi On Rails and acts
I have an application written in Rails, deployed on Heroku. I used to have
I have a simple rails application written for scraping a web page. The controller

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.