CF8 Use of clientCert and cfhttp

Dears,
In coldfusion 8, we are trying to implement a web service
call in secured mode (use of ssl and client certificate).
we used therefore new elements clientCert and
clientCertPassword into cfhttp command.
we received a Connection Failure as a result (coldfusion
side).
At web server of producer side (Apache), we receive an error
HTTP 400:
172.21.160.124 - - [04/Feb/2008:13:18:23 +0100] GET / 400 472
Any idea / hint would be welcome ;)
code page is attached

Hi,
yes we went further. But this is not so easy.
Explanation:
Before an SSL connection can be established with CFHTTP to a
server the certificate of that server needs to be imported as a
trusted certificate in the ColdFusion truststore with the keytool
command. The command to do so is:
keytool -import -trustcacerts -keystore cacerts -storepass
<password> -noprompt -alias <alias> -file
<certfile>
If you use another CA certificate authority, then you also
have to import the CA into the ColdFusion truststore.
Before a client certificate can be used it needs to be in a
specific format, pkcs. Of course this client certificate must
contain the private key.
You also have to import the client certificate into the
Windows Certificate Store (if you run under a windows
desktop/server).
In your ColdFusion cfhttp tag, use this .pkcs certificate
file.
Tell me if it works like this :)

Similar Messages

  • Which XSLT Processor does CF8 use?

    I'm writing some XSLTs and would like to use the fn:base-uri() that is accessible in Saxon-SA 9.1.0.7 or later editions.  I cannot find any documentation on which XSLT processor(s) CF8 uses.  Nor can I find anything on possibly upgrading it or using CF to access an external processor.  Can anyone point me in the right direction on how to do upgrade CF8's XSLT processor, use another one via CF or even another function that the fn:base-uri() can do.
    What I'm trying to do with the function is to get the XML's file name so that I can parse it out and insert it into the transformed XML.
    EXAMPLE XSLT:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0">
        <xsl:output method="xml"/>
        <xsl:variable name="filepath">
            <xsl:value-of select="base-uri()"/>
        </xsl:variable>
         <xsl:template match="/">
              <xsl:value-of select="$filepath"/>
         </xsl:template>
    </xsl:stylesheet>

    Probably most of the heavy consumption is PGA related.
    http://docs.oracle.com/cd/B28359_01/server.111/b28274/memory.htm#i49320
    Have a look at the AWR history views concerning memory consumption. ADDM, ASH, AWR etc should give you more insight. See also the awr/addm/ash/-rpt.sql scripts in $ORACLE_HOME/rdbms/admin on the database server. You (officially) would need Diagnostic en Tuning pack licenses though, so be warned (even for "touching" those views). Probably the heavy consumption of memory is or (wrong) storage related or inefficient code...

  • CFX and CFHTTP performance

    Hello,
    I have an ecommerce application that sends out information to
    CC processors to validate a credit card. One processor uses a cfx
    tag, and another uses xml via a cfhttp post. My problem is that if
    the requests hang or timeout, my servers performance significantly
    degrades. I have timeouts set on both methods, and each request is
    wrapped in a cflock. However it seems that if i get 5-10 timeouts
    at a given time, CF starts to crawl.. Are there any tips or
    settings to improve this? My first idea was to put those requests
    in an event gateway..
    -thanks

    Hi
    I would suggest to read CFHTTP documentation.
    secondly use result = "httpResult" attributes
    <cfset httpResult = "" />
    <cfhttp............ result = "httpResult" />
    <cfset httpResult = "" />
    <cfscript>
    objSystem = CreateObject( "java", "java.lang.System" ) ;
    objSystem.gc() ;
    </cfscript>
    I had similar issue, just try to calling GC works for me.
    Important you have to take care of local scope and variables
    scope if you are using CFC.
    Thanks

  • How we will use these Job_open and Job_submit job_close??

    Hi Experts,
    i am new in Developement, i need one help here my problem is
    I have one issue which is a report here i am getting the data into internal table, that data fetching i want to schedule it in background job..
    can any body tell me how can i use the JOB_OPEN and JOB_SUBMIT function modules....
    plz provide any example..
    Thanks in Advance,
    Venkat N

    Hi,
    Here is the sample program
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Regards
    Sudheer

  • I'm using matchbook pro and I'm unable to find iPhoto after upgrading to Maverick os

    I'm using matchbook pro and I'm unable to find iPhoto after upgrading to Maverick os

    Open the Mac App Store application and see if iPhoto is under your "Purchases" tab.
    Clinton

  • Help using multiple iphones and ipods on itunes

    Okay, is there any simple way to use multiple apple products thru itunes. I can log in on my account and sync my iphone/ipod, then I log out and log back in with my daughter's account info. I plug her itouch in and it wants to read all of my apps(some apps we both have on our devices). Have problems with music sharing as well. Still a PC user. Get very frustrated with itunes. spend way too much time trying to do things that should be simple. please help! Thank you!

    Are you using method 1 with different windows user accounts?
    http://support.apple.com/kb/HT1495
    Sounds like you are currently using method 2 and not happy with it.

  • I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    Welcome to the Apple Community.
    It's do-able, but I don't think it's a great idea.
    DVI
    Some users with DVI have managed to get their TV's to work with DVI-HDMI cables. DVI carries no audio, so alternative connections need to be explored to enable audio. DVI doesn't necessarily support HDCP as well as other standards used by HDMI (which may or may not be an issue)
    Analogue
    There are hardware converters that will convert HDMI to various other types of output, however there are some issues with doing so that you should be aware of.
    HDCP
    HDCP compliant converters will not allow you to watch HDCP protected content such as that from the iTunes Store. Non compliant converters exist but we cannot discuss them under the Terms of Use for these communities.
    Resolution and aspect ratio
    I'm not aware of any converters that will scale the output from the Apple TV, any TV or projector which is used will need to be widescreen and support resolutions of 720p (Apple TV 2), 720p/1080p (Apple TV 3)
    DAC
    DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

  • IPad2 and a new MacBook running Lion, Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my Hotmail Id for my Apple Id and use it for iTunes, iCloud

    I have an iPad2 and a new MacBook running Mountain Lion. Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my current Hotmail Id for my Apple Id for iTunes, iCloud.
    Note, I will use both Hotmail and iCloud eMail.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    I'm using Time Machine and a LaCie external drive to backup. I also have a 8 GB LaCie flash drive I want to use for small jobs. If I plug the LaCie flash drive in, is my Mac going to think it is the LaCie external drive and start trying to backup?

    no.

  • I have an older macbook pro and the hard drive is starting to go (making loud noises). i tried to back up to an external hard drive (my passport essential se) using time machine and the computer keeps shutting down. suggestions to complete backup please?

    I have an older macbook pro and the hard drive is starting to go (making loud noises). i tried to back up to an external hard drive (my passport essential se) using time machine and the computer keeps shutting down. the same thing happens when just trying to save my pictures from iphoto to a flash drive. suggestions to complete backup please?

    Sounds like you'll need to access that drive while it is not booted. You need to replace it anyway, so do that, then one way or another (ext enclusure, et), access it and copy files.
    If you keep trying to boot it, you might kill it for good and not get your files, so just swap it out first.

  • Using Adobe Bridge and iPhoto together

    I use Adobe Bridge (and Photoshop) to work on my photos. iPhoto is not an option since I shoot in Camera RAW. I also own an Apple TV and want to store all of my photos in iPhoto so they are available to the rest of my family via Apple TV. Has anyone figured out a way to do image manipulation first in Bridge & Photoshop and then have them sent (or later updated) in iPhoto in an automated fashion?
    Conceptually, every time I add or change a photo in Bridge or Photoshop, I'd like to convert it to JPG, and add or modify the image in iPhoto.

    Also make sure PS's File handing preferences "Macimize PSD and PSB File Compatibility" is set to Always and that there are no alpha channels in the file. An alpha channel will cause the black image that you're referring to.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Installing Adobe Photoshop 10. Using Windows 7 and IIE.  Get message "error:1"

    Installing Adobe Photoshop 10.  Using Windows 7 and IE.  Gt message  "error:1"

    Not sure what CS3 is.  Attached is a screen shot of the error message I get when trying to use Photoshot Elements 10.
    Looks like I can't attach a Word or PDF document or paste an immage.
    This forum may not be very user friendly.
    Let mehttp:// know if there is another way to communicate.
    Thanks,
    Phil
    <Removed by Moderator>

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How do I get iCal to sync to my iphone 4. It used to work and now it won't. Any suggestions will be most appreciated.

    How do I get iCal on my Mac to sync with my iphone 4.
    It used to work and now it doesn't.
    I am not on MobileMe or the Cloud.
    Any suggestions will be most appreciated.

    Hi Arezzo
    I'm asuming you are using iTunes then to sync? this can be done over WiFi or the USB cable.
    Review your setting for the calendar sync once iTunes is open and your iPhone is connected. Make sure your Calendars are selected to sync that you need. By default all calendars will.
    So the option i have for you is to reset the sync service and this will reset those settings in iTunes. Meaning that you will have to switch them on again in iTunes to sync. But this mostly clears unresolved sync issues.
    Please do yourself a favour and hit backup in iTunes before doing any testing. iTunes will then keep a local backup of your iPhone in case of any data loss.
    {added}
    open Terminal from your Utilities folder and paste this command in to reset. OS X 10.6 - 10.8
    /System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync .pl full [press Enter]
    if it prompts for a password, just type your password and hit [Enter] again.
    Open iTunes then set your syncs up and it should then carry on again.
    Message was edited by: WaldoWTM

  • I accidentally uploaded songs from cds to the wrong itunes library. i would like to move those songs to my regular itunes library that i use to purchase and download music, since my ipod cant sync to both libraries. how can i do this? please advise. thank

    i accidentally uploaded songs from cds to the wrong itunes library. i would like to move those songs to the regular itunes library that i use to purchase and download music, since my ipod cant sync to both libraries. how can i do this? please advise? thank you.

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

Maybe you are looking for

  • Is Java Script something out of Star Wars?

    I am new to A.L.C.D (version 7) and would like to create a simple form that contains a drop down box that is linked to an access database. I have read several articles/help files etc on setting up the link to the data base but can't get it to work? I

  • Is it worth downloading Aperture 3.4 ???

    With all of the problems with Aperture 3.4 is it worth the trouble of having to do a reinstall etc. just to get it.  I am using ML 10.8.2 with Aperture 3.3 and it seems to be working fine.  What does 3.4 add?  Does the old adage "if it ain't broke, d

  • Document manager  customization

    Hi All, I am using document manager to display some of the attachment which is stored in my folder located at content server . 1. I just want to display my attachment in grid format instead of tree is it possible ? 2. Is it possible to display only u

  • Page not visible unless reload page

    Published a site with only three pages. Experimenting with switch from iWeb 1 to 2. When I click on the link to another page from my first page, it looks like it is loading and then just get a blank (white) screen. If I go to the View menu and click

  • How to install java on Maveric 10.9? desk top, to allow photos to be transferred to mail?

    How can I install Java on my Maveric 10.9 desk top to allow photos from iPhoto to be placed into email. Is there a program I can apply directly?  Thank you