Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Wallet - please add all trusted certificates....error

937391Jun 11 2012 — edited Jun 28 2012
Hello.

I'm trying to create a wallet, so that i could connect to a web service via SSL. I have a certificate (user certificate I presume), which i'm adding to freshly created wallet. I checked in Internet Explorer if there is a certificate chain, when visiting endpoint url, and it shows the following path:

Sigov-CA
-> xxx-yyy.ccc.ss

I'm guessing that the first one is a root certificate which i should import to the wallet. I have done that. The second is basicaly the web page, which holds the web service I wan't to connect to. I can export the certificate of the first one, but not the second one. I don't know why..
When trying to add a user certificate to the wallet, it gives me the error:
Please add all trusted certificates before adding the user certificate
I'm using orapki commands. Can someone direct me or even better tells me which orapki commands i need for creating a wallet.
Is it neccessary to have a root wallet and a user wallet? What is the difference between these two? Do I need to create a certificate request, when I already have a certificate, which is working in Internet Explorer?

I have tried several wallets in the past week, none of which worked. The best I had, succesfully sent the request via https, but i recieved error from endpoint server stating I don't have a valid certificate. My certificate is valid, i just don't know how to create a wallet the correct way.

I'm sending request with:
url := 'https://xxxbvnbjsjdbfkjd/services/SomeService';

    utl_http.set_proxy('usr:pass@proxywithport');
    
    utl_http.set_wallet('file:/home/oracle/wallet',wallet_pass);
    
    http_req := utl_http.begin_request(url,'POST','HTTP/1.1'); 
Please help me guys, i'm really stuck on this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 26 2012
Added on Jun 11 2012
6 comments
1,415 views