TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

Importing SSL Certificates with Keytool - Finally

2 Comments

From time to time I have had the desire to use SSL certificates from Certificate Authorities (CA's) which are not included in the default build of Jrun. There are some tutorials on how to do this:

Despite these resources, I could never get the import to work. It would give me the message that it imported and the list test would reveal that it worked but then ColdFusion couldn't connect to the secured resource. After repeated attempts, I would just figure out an alternate solution to my problem.

That is until today. I was trying it again, and to reduce my frustration, I created a batch file on the desktop of the server. When I ran the batch file, I saw that a cacerts file was created on my desktop. I did some digging, and relized that I was creating a new cacerts file every time I tried to do this, instead of appending the cert to the existing cacerts file.

So the solution was to run the keytool commands from the directory the cacerts file is located in. After you do that successfully, you need to restart the ColdFusion instance you wish to consume the secure services with.

I can't believe I overlooked something that straightforward but then again, maybe someone else has, and could use this piece of information.

2 responses so far ↓

  • 1 Isidro

    Thank you for the post as it clarifies things for me.

    I am trying to build a page on our intranet that allows users to reset their AD passwords. On my post that I have found online there is reference to a secure connection between AD and the CF server I am having a hard time doing this could you please provide guidance on creating this connection. Our intranet already has a SSL certificate Do I need to get an additional SSL certificate for communication from the CF8 server to the AD server?

    Any help will be greatly appreciated.
  • 2 Dan

    Thank you so much! Been struggling with this all morning and this solved it!

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed html5 flash builder air mobile android driving technical change adobe apptacular running a coldfusion shop adobemax06 movable type flash catalyst flash css blackberry adobemax07 adobemax08 hero finicky adobemax09 holy crap i’m a mobile developer centaur phonegap basecamp cfc whichelement unfuddle motorola metablog irrational characters ios git evangelism edge devices code reviews ant wharton subversion security rhino philly philadelphia multidevice knowledge@wharton jobs javascript java browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile it github flexorg fireworks eclipse dreamweaver apps apple adobemax11