Under Construction!

Click for Home

Using certificates with Cold Fusion...

The following is how to set-up a Netscape Enterprise server to pass a clients certificate to Cold Fusion as a CGI variable:

- First set up the enterprise server for SSL working with CF 3.1.1 or above.

-  next step is to manually edit the "obj.conf" file associated with your web server (typically located in the https-servername/config directory). The following line needs to be added to that file:

     PathCheck fn="get-client-cert" dorequest="1"

- create a new cgi directory using the Netscape admin server for the web server.

- copy the cfml.exe file into the new directory

- access the cfml page by using the following URL (the /cgi/ is the mapping to the cgi directory)

https://server.domain.com:443/cgi/cfml.exe?template=/cgi/test.cfm

- example of web page for the CGI client_cert var:

<title>Test Certificate Page</title>

<b>Your certificate:</b><p>
<p>
<cfoutput>#CGI.Client_Cert#
</cfoutput>

The URL above uses cfml.exe?template/page.cfm,  this is how you can access any CGI variables using Cold Fusion.

Well, that's about all I can think of for now, but if I think of anything more I will be sure to include it here.  the best source for information is the cfdocs and the Allaire forums.  The forums seem to have the answer to every question I have asked and you can post a question if need be.

Thank you for your time. I hope you found this information useful.

-T. Anderman
Email:
anderamn@oocities.com
Feel free to drop me a line!

  Previous Page                                                                Back to Start


This page hosted by Get your own Free Homepage