ORA-29024: Certificate validation failure when trying to redirect to https

Hi, I was trying to redirect the page to another https website using utl_http.request,
I configured Oracle wallet and import the certificate, and successfully to get the webpage content in sqlplus by
select utl_http.request('https://<website>,null,<wallet>,<wallet password>) from dual,
but when I trying to use the same way in a button process of Apex, the error ORA-29024: Certificate validation failure prompt.
Anyone know what wrong with it?
Thanks
Vincent Pek

Hi, Sorry, I found that after i reboot my laptop , it's working now.

Similar Messages

  • Re: utl_http connect https got ORA-29024: Certificate validation failure

    Hi,
    I think you can answer my question. I posted my question in the general discussion but no luck so far. I would appreciate if you can help.
    1. I would like to use PL/SQL Server Pages (PSP). My understanding after reading the documentation from Oracle is that I need to install Oracle Web Toolkit that should enable be to use mod_PLSQL etc.
    My question is if I download & install the Oracle 11g from the Oracle site, will it have the Webtool kit? Also, is it easy to configure mod_PLSQL?
    Thanks,
    Al

    This has nothing to do with utl_http and not even with forms. Besides it is easy to verify if the objects for the web toolkit are installed: just check if the objects mentioned in the documentation are available in your database.
    cheers

  • Validation failure when trying to add derived associations

    Hi,
    I am trying to add derived associations to my plugin. I want to add an association between my plugin target and a target from outside my plugin (an ASM instance).
    However, during the validation of the plugin, it fails with this message:
    Violation type: NON SDK Access detected
    Validation Type: Meta data Embedded SQL
    Artifact being accessed: VIEW CM$MGMT_ASM_DISK_ECM
    Accessed by: SQL String sql0 in /home/oracle/src/oem_pi_emc_vmx3/stage/oms/metadata/derivedAssocs/emc_vmx3_assocs.xml
    Source file path: /home/oracle/src/oem_pi_emc_vmx3/stage/oms/metadata/derivedAssocs/emc_vmx3_assocs.xml
    The SQL query embedded in the above file or class is accessing a non SDK DB object. For legibility only SQL IDs are mentioned here. The actual SQL Strings corresponding to these IDs are mentioned towards the end of the report.I read the Programmer's Reference doc, chapter 10.3.1, sub "DB Objects Referenced by Rule Queries", which specifies:
    For security reasons, the SYSMAN_RO user will execute your rule query. Therefore, only objects accessible by this user are allowed to be referenced. For objects created outside of your plug-in you can reference views exposed by the Extensibility Development Kit (EDK) at your plug-in level, including those prefixed with MGMT$ and GC$.However, I want to use table cm$mgmt_asm_disk_ecm as my query needs the "PATH" column. I cannot find this in any MGMT$ or GC$ table?
    I saw thread metadata with defining Derived Associations valided failed. about same issue but haven't been able to solve my problem with that yet.
    Any input appreciated!
    Thanks,
    Ed

    This issue is not longer a question, as it was solved by using table MGMT$METRIC_CURRENT instead.
    Just restrict the table to the required target_Type and select the required metric_column. THe value column will then give the value that's needed.
    Regards,
    Ed

  • Macbook Pro says plug in failure when trying to watch a movie

    My Macbook Pro says plug in failure when trying to watch a movie.

    This did not work and I'm glad that I only paid for the cheapest plan on macupdate.com.  For other people that view this discussion, after a couple of days of trying things and then viewing a couple of other discussions, what worked for me was uninstalling my Silverlight and then reinstalling it.  Thanks for everyones input !!!!

  • HP C6180 (wireless) gives "Ink System Failure" when trying to print from my new Windows laptop

    HP C6180 (wireless) gives "Ink System Failure" when trying to print from my new Windows laptop

    Hi @Maxuss,
    Thank you for visiting the HP Support Forums! I see you are getting an 'Ink System Failure' on your HP Photosmart C6180, so you are unable to print. 
    Please complete the steps listed here: An 'Ink System' Error Code Displays on the Front Panel
    If after the reset you are still getting the error message, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assis​t.html
    I hope this helps!
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • I'm really tired of all the redirect I get when I'm surfing the net. i've set in the option to warn when trying to redirect

    I'm really tired of all the redirect I get when I'm surfing the net. i've set in the option to warn when trying to redirect

    If you are being re-directed to other sites, particularly when searching, this can be caused by malware. Try running several malware scanners. It is best to run several as each will pick up things that the others miss. Some scanners you can try are:
    * [http://www.malwarebytes.org/mbam.php Malwarebytes]
    * [http://www.superantispyware.com/ SUPERAntiSpyware]
    * [http://www.lavasoft.com/products/ad_aware_free.php Ad-Aware]
    * [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx Windows Defender]
    * [http://www.safer-networking.org/en/home/index.html Spybot S&D]
    If the above malware scanners do not find any malware or can not clear it, you should consider posting in one of these forums for specialized malware removal help:
    * http://forums.spybot.info/
    * http://www.spywarewarrior.com/index.php
    * http://forum.aumha.org/
    * http://www.bleepingcomputer.com/forums/
    * http://www.spywareinfoforum.com/

  • Validation error when trying to schedule a backup.

    Hello,
    I'm trying to preform a backup in my oracle 10g.
    when trying to start a backup i'm receiving the following message:
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - Connection to host as user admin failed: IOException in sending Request :: Connection refused: connect
    I've searched all over google for an answer and hasn't come up with anything.
    I've tried the Batch Job solution - didn't work.
    Tried to add the local user to OEM - Administrators - didn't work as well.
    I've added a new user with admin privileges and did the same procedure as well for that user, with no success.
    Any help will be appreciated.
    Thank you.

    Hi,
    Try to google it first
    You have to provide the ‘Log on as a batch job’ privilege:
    1. Go to control panel/administrative tools
    a. click on “local security policy”
    b. click on “local policies”
    c. click on “user rights assignments”
    d. double click on “log on as a batch job”
    e. click on “add” and add the user that was entered in the “normal username” or “privileged username” section of the EM Console.
    2. Go to the Preferences link in the EM GUI
    a. click on Preferred Credentials (link on the left menu)
    b. under “Target Type: Host” click on “set credentials”
    c. enter the OS user who has logon as a batch job privilege into the “normal username” and “normal password” fields
    3. Test the connection
    a. while in the Set Credentials window, click on “Test”
    Refer the following link:
    Error - Connection to host as user xxxxxxxx failed.
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2362207
    Edited by: Varma on Jul 23, 2012 1:32 PM

  • Anyconnect web install getting certificate validation failure.

    I have an ASA (8.4.5) configured with a connection profile that does AAA and Certificate authentication. Once I have the anyconnect 3.1 on a win Xp system, it works perfectly. When I do a web install, it goes through the normal download, log-in, re-download then says "Certificate Authentication Failure" If I change the profile to AAA only, it installs fine. I even get the error if I launch from the web after I have the client on the PC.
    Any ideas why this is not working?
    Sent from Cisco Technical Support iPad App

    The client PC has a machine certificate. The ASA has a copy of the certificate from the CA that signed the machine cert. I am logging in with a user account not an admin account. Note that if anyconnect is installed on the client PC, I can use it to connect just fine. It's only the web install that fails. Below is the output of the debug crypto ca 255:
    asa-vpn-1/act# CERT_API: Authenticate session 0x30c0bcbf, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x30c0bcbf
    CERT_API: Async locked for session 0x30c0bcbf
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    89 c7 b4 60 20 08 0c a9 6f a0 49 67 6f f5 4e 51    |  ...` ...o.Igo.NQ
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 607A635F4286368E4E977C7BFE1C17E6, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x30c0bcbf asynchronously
    CERT_API: Async unlocked for session 0x30c0bcbf
    CERT_API: process msg cmd=1, session=0x30c0bcbf
    CERT_API: Async locked for session 0x30c0bcbf
    CERT_API: Async unlocked for session 0x30c0bcbf
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x310022b5, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x310022b5
    CERT_API: Async locked for session 0x310022b5
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    89 c7 b4 60 20 08 0c a9 6f a0 49 67 6f f5 4e 51    |  ...` ...o.Igo.NQ
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 607A635F4286368E4E977C7BFE1C17E6, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x310022b5 asynchronously
    CERT_API: Async unlocked for session 0x310022b5
    CERT_API: process msg cmd=1, session=0x310022b5
    CERT_API: Async locked for session 0x310022b5
    CERT_API: Async unlocked for session 0x310022b5
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x314d3205, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x314d3205
    CERT_API: Async locked for session 0x314d3205
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    ea dd 93 e8 d0 84 2a b6 8c 5f 9c ba e3 db 3e 9f    |  ......*.._....>.
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 4398D2801DA922A24EDB059F3459001A, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x314d3205 asynchronously
    CERT_API: Async unlocked for session 0x314d3205
    CERT_API: process msg cmd=1, session=0x314d3205
    CERT_API: Async locked for session 0x314d3205
    CERT_API: Async unlocked for session 0x314d3205
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x31ad6583, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x31ad6583
    CERT_API: Async locked for session 0x31ad6583
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    ea dd 93 e8 d0 84 2a b6 8c 5f 9c ba e3 db 3e 9f    |  ......*.._....>.
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 4398D2801DA922A24EDB059F3459001A, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x31ad6583 asynchronously
    CERT_API: Async unlocked for session 0x31ad6583
    CERT_API: process msg cmd=1, session=0x31ad6583
    CERT_API: Async locked for session 0x31ad6583
    CERT_API: Async unlocked for session 0x31ad6583
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x31c167bb, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x31c167bb
    CERT_API: Async locked for session 0x31c167bb
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    ea dd 93 e8 d0 84 2a b6 8c 5f 9c ba e3 db 3e 9f    |  ......*.._....>.
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 4398D2801DA922A24EDB059F3459001A, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x31c167bb asynchronously
    CERT_API: Async unlocked for session 0x31c167bb
    CERT_API: process msg cmd=1, session=0x31c167bb
    CERT_API: Async locked for session 0x31c167bb
    CERT_API: Async unlocked for session 0x31c167bb
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x3209b801, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x3209b801
    CERT_API: Async locked for session 0x3209b801
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x3209b801 asynchronously
    CERT_API: Async unlocked for session 0x3209b801
    CERT_API: process msg cmd=1, session=0x3209b801
    CERT_API: Async locked for session 0x3209b801
    CERT_API: Async unlocked for session 0x3209b801
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x3266eb61, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x3266eb61
    CERT_API: Async locked for session 0x3266eb61
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x3266eb61 asynchronously
    CERT_API: Async unlocked for session 0x3266eb61
    CERT_API: process msg cmd=1, session=0x3266eb61
    CERT_API: Async locked for session 0x3266eb61
    CERT_API: Async unlocked for session 0x3266eb61
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x328359af, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x328359af
    CERT_API: Async locked for session 0x328359af
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x328359af asynchronously
    CERT_API: Async unlocked for session 0x328359af
    CERT_API: process msg cmd=1, session=0x328359af
    CERT_API: Async locked for session 0x328359af
    CERT_API: Async unlocked for session 0x328359af
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x32c7c677, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x32c7c677
    CERT_API: Async locked for session 0x32c7c677
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x32c7c677 asynchronously
    CERT_API: Async unlocked for session 0x32c7c677
    CERT_API: process msg cmd=1, session=0x32c7c677
    CERT_API: Async locked for session 0x32c7c677
    CERT_API: Async unlocked for session 0x32c7c677
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x3305560d, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x3305560d
    CERT_API: Async locked for session 0x3305560d
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x3305560d asynchronously
    CERT_API: Async unlocked for session 0x3305560d
    CERT_API: process msg cmd=1, session=0x3305560d
    CERT_API: Async locked for session 0x3305560d
    CERT_API: Async unlocked for session 0x3305560d
    CERT API thread sleeps!
    CERT_API: Authenticate session 0x3378de7d, non-blocking cb=0x08eb6950
    CERT API thread wakes up!
    CERT_API: process msg cmd=0, session=0x3378de7d
    CERT_API: Async locked for session 0x3378de7d
    CRYPTO_PKI: Checking to see if an identical cert is
    already in the database...
    CRYPTO_PKI: looking for cert in handle=0x722e0784, digest=
    cd 3d c6 c8 d4 8d ba 85 75 9b 28 9e 7a e0 97 0f    |  .=......u.(.z...
    CRYPTO_PKI: Cert record not found, returning E_NOT_FOUND
    CRYPTO_PKI: Cert not found in database.
    CRYPTO_PKI: Looking for suitable trustpoints...
    CRYPTO_PKI: crypto_pki_get_cert_record_by_subject()
    CRYPTO_PKI: No suitable trustpoints found to validate certificate serial number: 0B0D7E1CE0870FBE483AFFF974C43AD7, subject name: cn=CiscoSecureDesktop, issuer name: cn=CiscoSecureDesktop .
    CERT_API: calling user callback=0x08eb6950 with status=1
    CERT_API: Close session 0x3378de7d asynchronously
    CERT_API: Async unlocked for session 0x3378de7d
    CERT_API: process msg cmd=1, session=0x3378de7d
    CERT_API: Async locked for session 0x3378de7d
    CERT_API: Async unlocked for session 0x3378de7d
    CERT API thread sleeps!

  • Creative suite 6 install says genuine software verification failure when trying to install from a genuine disk

    When trying to install a genuine copy of creative suite 6 from disk, i keep getting the message that the verification failed and that the copy is counterfeit.

    Hello sonic3,
    please try to use download function from there: http://helpx.adobe.com/de/x-productkb/policy-pricing/cs6-product-downloads.html
    and use your serial numbers aso. from your disk.
    Maybe it's necessary to delete first  all the rudiments from your former installations.
    Hans-Günter

  • Connection refused when trying to getOutputStream from https connection

    Hi all !
    I want to make an https connection with a server to send/get the request/response
    What can be the cause of the following error in the following code testHttps.java?
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:46)
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:51)
    testHttps.java
    package Test;
    import java.io.;
    import java.net.;
    import javax.net.ssl.*;
    public class testHttps {
    public static void main(String args[]) throws Exception {
    //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    // Create a trust manager that does not validate certificate chains
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    // Install the all-trusting trust manager
    try {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    } catch (Exception e) {
    System.out.println("Error" e);
    // Now you can access an https URL without having the certificate in the truststore
    try {
    URL url = new URL("https://..............");-->//address of the server given here
    URLConnection conn = url.openConnection();
    HttpsURLConnection urlConn = (HttpsURLConnection) conn;
    urlConn.setDoOutput(true);
    OutputStreamWriter wr = null;
    try{
    wr = new OutputStreamWriter(conn.getOutputStream());
    catch(Exception e){
    e.printStackTrace();
    BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    String str;
    while( (str=in.readLine()) != null) {
    System.out.println(str);
    } catch (MalformedURLException e) {
    System.out.println("Error in SLL Connetion" +e);
    HostnameVerifier hv = new HostnameVerifier()
    public boolean verify(String urlHostName, SSLSession session)
    System.out.println("Warning: URL Host: " urlHostName " vs. "
    session.getPeerHost());
    return true;
    want to ignore certificate validation.
    plese help me..
    hi brucechapman, as you suggested me, i posted in Core API- networking forum, now please gimme a solution
    Thanks in advance.

    hi brucechapman,
    ran the NetTest program, got the following exception:
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at Test.NetTest.main(NetTest.java:40)
    NetTest.java:40 -- InputStream is = url.openStream(); at this ling throwing exception.
    For the following program, i have added the argument -Djavax.net.ssl.trustStore=cacerts
    i have exported the certificate from IE and added to the keystore.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.security.Security;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class Communicator {
    public static void main(String[] args) {
    try {
    int port = 34443;
         String strReq = "xml content ";
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) factory.createSocket("jyoti-win2k8-32", port);
    //Writer out = new OutputStreamWriter(socket.getOutputStream());
    //out.write("GET http://" + "hostname" + "/ HTTP 1.1\r\n");
    // out.write("\r\n");
    //out.write(strReq);
    //out.flush();
    OutputStreamWriter wr = null;
    try{
         wr = new OutputStreamWriter(socket.getOutputStream());
         catch(Exception e){
              e.printStackTrace();
         System.out.println("got output stream");
         try{
         wr.write(strReq);
         //System.out.println("response code : "+conn.getResponseCode());
         System.out.println("written");
         wr.flush();
         catch(IOException e){
              e.printStackTrace();
    InputStreamReader is = new InputStreamReader(socket.getInputStream(),"UTF8") ;
         BufferedReader rd = new BufferedReader(is);
         String line;int count=0;
         System.out.println("rd "+rd);
         while ((line = rd.readLine()) != null) {
              System.out.println("line "+line );
              System.out.println(count++);
              // Process line...
         System.out.println(count);
    rd.close();
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    int c;
    while ((c = in.read()) != -1) {
    System.out.write(c);
    //out.close();
    in.close();
    socket.close();
    } catch(IOException ex) {
    ex.printStackTrace();
    Exception :
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
         at java.io.OutputStreamWriter.flush(Unknown Source)
         at Test.Communicator.main(Communicator.java:55)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(Unknown Source)
         at sun.security.validator.Validator.getInstance(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
         ... 7 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
         at java.security.cert.PKIXParameters.<init>(Unknown Source)
         at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
         ... 19 more
    java.net.SocketException: Socket is closed
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getInputStream(Unknown Source)
         at Test.Communicator.main(Communicator.java:66)
    please help me and provide me suggestion/solution. how to get rid off this trustanchor paramater exception
    what is it actualy?
    Thanks in advance.

  • Oracle error "ORA-01843: not a valid month" when trying to run sqlldr

    Hi all,
    I'm trying to load some data into a staging database via a CSV file using sqlldr, and am running into an issue where it doesn't like the date format I'm using.
    Here is my input data:
    2012-01-09 16:28:12 -05:00Here is the entry in the .ctl file:
    created TIMESTAMP WITH TIME ZONE 'yyyy-mm-dd HH24:MI:SS TZR'And finally, here is the entry in the .sql file:
    created TIMESTAMP WITH TIME ZONEAfter I try to load, I get greeted with the dreaded error message: Record 1: Rejected - Error on table WTPART, column CREATED. ORA-01843: not a valid month
    I'm really confused as to why it's blowing up on the date, because it seems to me that "01" is indeed a valid date in terms of the date format I'm using. Any ideas? Thanks!
    Edited by: Nick Tiberi on Jan 10, 2012 8:06 AM

    Hmmm, not sure exactly what the problem is. It works fine for me on my XE instance.
    Set up the control and data files....
    tubby@Tubbz:~/test$ cat >> WTPart.csv <<EOF
    2012-01-09 16:28:12 -05:00
    EOF
    tubby@Tubbz:~/test$
    tubby@Tubbz:~/test$ cat >> load.ctl <<EOF
    LOAD DATA
    INFILE WTPart.csv
    APPEND INTO TABLE WTPart
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    created TIMESTAMP WITH TIME ZONE 'yyyy-mm-dd HH24:MI:SS TZR'
    EOF
    tubby@Tubbz:~/test$
    tubby@Tubbz:~/test$ /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlldr tubby/pswd@xe control=load.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Tue Jan 10 10:21:28 2012
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    tubby@Tubbz:~/test$
    {code}
    Query the result from the database
    {code}
    ME_XE?select * from wtpart;
    CREATED
    09-JAN-12 04.28.12.000000 PM -05:00
    1 row selected.
    Elapsed: 00:00:00.01
    ME_XE?
    ME_XE?select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected.
    Elapsed: 00:00:00.01
    ME_XE?
    {code}
    Are you sure your CSV file doesn't have some "funky" data in it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ORA-22835: buffer too small when trying to save pdf file in LONG RAW column

    Hi,
    I get "ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (real : 125695, maximum : 2000)" when i trying to save a 120k pdf file in an Oracle Long Raw column using dotnet 4.0 and Entity FrameWork.
    Dim db As New OracleEntities
    Try
    Dim myEntity = (From e In db.TEXTE _
    Where e.TEXT_ID = txtTextId.Text _
    Select e).Single
    With myEntity
    If txtTextypeId.Text <> "" Then
    .TEXTYPE_ID = txtTextypeId.Text
    Else
    .TEXTYPE_ID = Nothing
    End If
    .TEXT_NUM = txtTextNum.Text
    .TEXT_NAME = txtTextName.Text
    .TEXT_DATE = dtTextDate.SelectedDate
    If DocAdded Then
    .TEXT_DOC = Document
    ElseIf DocDeleted Then
    .TEXT_DOC = Nothing
    End If
    End With
    db.SaveChanges()
    Document is an array of Byte and TEXT_DOC also (mapped to a long row column).
    is it possible to increase the size of the buffer ? how may i do it ?
    Thx in advance.
    Regards.

    Using a custom UPDATE or INSERT stored procedure for LONG RAW column with
    exceed-limit data may still get the following error.
    "ORA-01460: unimplemented or unreasonable conversion requested".
    One option is to use BLOB instead of LONG RAW in your table and regenerate your
    data model from the table. Then using the default UPDATE or INSERT statement
    (created by EF) should work.
    The following will modify your LONG RAW column to BLOB column.
    Disclaimers:
    1. It's irreversible--you cannot modify BLOB back to LONG RAW.
    2. I have not tried that when there are huge data in LONG RAW column.
    So be careful.
    alter table <your_table_name> modify <your_long_raw_type_column> blob;

  • Cisco anyconnect 3.1 - Certificate Validation Failure.

    When i try to start a SSL VPN connection to the ASA(8.4) with anyconnect 3.1, Cisco anyconnect receives a message saying "No Valid Certificates Available for Authentication".
    Prior to the test;
         On the ASA, i have obtain CA certificate and its identity certificate. (Both certificates obtain from windows 2008 CA).
              * ASA identity certificate's have EKU attribute = Server Authentication,   Key Usage = Digital Signature, Key Encipherment.
         On the PC in which anyconnect installed, i have obtain User Certificate (this User certificate also obtain from the same windows 2008 CA)
              * Prior to obtaining User certificate from the windows2008 CA, ASA acts as a SCEP proxy onbehalf of the client PC.
              * User Certificate's has EKU attribute = Client Authentication.
    As in the ASDM Logs, it almost work.
    In days of troubleshooting, i still could not find the cause of this problem. Error message as appeared on anyconnect;
    Is there anyone could help.???
    Keshara from Sri Lanka.

    Just run into this as well. We have CRL checking turned on. Turned out to be the CRL server was down. But that was the same message I got when the client wouldn't connect. 

  • Unknown validation error when trying to publish Iweb

    Im trying to publish my iweb page but it sends me to a mobile me login page. This has never happened since i first set up my mobile me. When I type in my password which is 7 characters then click on the login the password jumps to 12 characters and I get an unknown validation error. Any ideas
    Message was edited by: WorshipPastor

    This is from the Account page of the MobileMe website. I'm unable to update my website right now and I believe this must be the reason.
    System Status
    * MobileMe System Preferences on Mac OS X
    * MobileMe members may be unable to sign in to MobileMe in Mac OS X System Preferences. Normal service will be restored ASAP. We apologize for any inconvenience.

  • Error - ORA-06512: at "SYS.OWA_UTIL" - when trying to download files.

    Hi, I have an application where I try to implement download of the attachments.
    I am trying to use Denes Kubicek approach
    http://apex.oracle.com/pls/otn/f?p=31517:15:4179200867819025:REMOVE_ID:NO::P15_DELETE_ID:4672033519340628563.
    When I run stored procedure I get this error message.
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 356
    ORA-06512: at "SYS.HTP", line 1368
    ORA-06512: at "SYS.HTP", line 1443
    ORA-06512: at "SYS.OWA_UTIL", line 413
    ORA-06512: at "RPA.LOADATTACHMENT", line 24
    ORA-06512: at line 6
    The code breaks at :
    OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
    Does anybody have any idea why it breaks?
    Thanks in advance.
    Robert
    Edited by: robik on 2-Feb-2011 5:58 AM

    Actually, the error comes up when I try to execute any of these lines:
    OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
    -- set the size so the browser knows how much to download
    HTP.p ('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    HTP.p ( 'Content-Disposition: attachment; filename="'
    || REPLACE (REPLACE (SUBSTR (v_file_name,
    INSTR (v_file_name, '/') + 1
    CHR (10),
    NULL
    CHR (13),
    NULL
    || '"'
    Is there any security issue?
    Robert

Maybe you are looking for

  • I bought the wrong version

    Does anyone know how to switch which version you buy after it is bought... I bought the Windows version and I need the MAC version... OOPS!

  • Ableton LIVE 7 and Macbook Pro mouse

    Hi there, Recently my MBP has been behaving oddly using Ableton Live 7. I will post this in an Ableton specific forum too, but wonder if this is a Mac problem rather than a software thing. When the tracks are playing in the timeline the mouse pointer

  • Customer Master Idoc gets some fields as garbage with English Lang

    Hi     We are using SAP 4.6C MDMP system. This is not unicode. We are sending customer idoc. The customers are created in Japanese and English language. When we login in Japanese language and send IDOC then the content looks fine. When we login with

  • Delete global stats, leave partition level only in 10.2.0.3 .

    Hi, there is 10.2.0.3 4 node rac datawarehouse , most queries are with predicate related to partition key . So there is a lot of partition prunning involved . Currently data load is done via exchange partition and then only that partition stats is ca

  • Zen Vision: M - Doesnt Fully Turn

    So i was out and i unplugged my Zen from my car put it in the glove compartment woke up the next day went to turn it on and it started up like normal said "Creative" then "Zen" then it WOULDN'T goto the main menu the buttons start lit up and everythi