How to download and import a new certificate programmatically?

Hi everyone,
I have implemented an SSL connection to a httpps URL using the example in Qusay H. Mahmoud's excellent article at http://java.sun.com/developer/technicalArticles/Security/secureinternet2/index.html
For simpler testing I used a HostNameVerifier and TrustManager that always accepts connections, regardless of whether or not host or certificate are known and can be trusted.
I now would like to extend that solution by a way to
1. show a warning when a new certificate is encountered
2. download the new certificate, when the user chooses to trust it
3. import the certificate as trusted to my application
Can someone describe what has to be done to do steps 2. and 3. above programmatically, i.e. not using manual keytool import? I have seen many posts with that question but I found no answer that describes 2. and 3. above or has an example.
It seems as if class sun.security.tools.KeyTool might be the solution but how is the standard system keystore determined and what are user name and password to it?
Thanks for any hints
Ulrich

Hi everyone and happy new year!
Does anyone have an answer to the question I posted previously? Probably a link to another thread having the answer at least?
Thanks a lot!

Similar Messages

  • I found information on how to transfer my library to a new computer. I am going to use an external hard drive for this and transfer my itunes folder to the new computer.   I will then download and install a new version of itunes on my new computer.   My q

    I found information on how to transfer my itunes library to a new computer. I am going to use an external hard drive for this to transfer my itunes folder to the new computer.
    I will then download and install a new version of itunes on my new computer.
    My question is this. When I do this, will itunes have all my album artwork for all my library? My library has a lot of my own music and I have spent quite a bit of time copying album artwork that itunes did not add. I am really hoping I don't have to do this again!
    Thanks for your help!

    If you follow the directions in this Link...
    Copy iTunes to an External Drive
    http://support.apple.com/kb/HT1751
    Everything should be carried across...

  • How to download and install webutil in FORMS 10G 10.1.2.0.2

    Where i find all the step to
    how to download and install webutil in FORMS 10G 10.1.2.0.2
    i DON'T FIND NOTHING OF VERY GOOD TO FOLLOW !!!

    hi
    u do not need to install any webutil in R2 u just need to configure few things.
    please read the following notes and try to configure.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.

  • Download and import YouTube videos to iMovie for  editing

    Download and import YouTube videos to iMovie for editing
    YouTube always provides people with raw video materials on all sorts of things happened worldwide in real time. Video lovers are fond of downloading these files as private collection, even using video editors like iMovie to do further editing of their favorite ones, so as to import them to portable devices like iPod, iPhone, PSP, Blackberry, etc. for playback, or upload to their own websites to share with others, or do something else as they like.
    However, not all the people have found a proper way to download YouTube videos, not to mention how to add these files to iMovie for editing. YouTube videos are in the format of FLV, which is not a workable format in iMovie, so if you want to import YouTube videos to it without trouble, you should convert FLV files to iMovie compatible formats such as MPEG-4 and MOV in advance. With the special intention of solving these two problems, this guide will show you how to download YouTube videos and import them to iMovie for editing step by step. If you are in need, just feel free to go along with it.
    Step 1: Download, install and run Pavtube YouTube Converter for Mac
    This converter can process downloading and conversion simultaneously. Once you launch it, the interface below well pop up.
    Step 2: Add URL, select output format and set save path
    Press tag “Add URL” in the above interface, and then the following window will appear. Just copy and paste the URL of the YouTube video file which you want to download and convert to the text box after “URL”. Then select a supportable format for iMovie by clicking the drop-down list of “Convert To”. Here I choose MOV for example.
    Afterwards, you can insert the storage file name in the text box of “Save As”, if not, the program will generate one automatically. Here I save my file as “mycollection”. Meanwhile, you are allowed to hit “Browse” in the opposite side of “Save To” to specify the destination folder. By the way, if you want to save the original FLV files, you are allowed to tick the checkbox “Save FLV File” to achieve this goal.
    Step 3: Custom
    This program enables you to adjust video and audio parameters like codec, bit rate, aspect ratio, frame rate, sample rate, and channels, so that you can change them randomly according to your own demands. Generally speaking, the options which refer to values are always in condition of the larger values, the larger file size, but better quality. Do remember click “OK” to save your custom settings.
    Step 4: Download and convert
    Once all the settings are done, you can click “OK” button to start. The following window will show you the progress of downloading and conversion.
    Step 5: Import the output MOV files to iMovie
    As soon as the YouTube video files have been downloaded and converted to MOV or other iMovie workable format, you can click “Open” at lower right corner of the above interface to find out the output files. Afterwards, launch iMovie, and click File > Import to add the output files to iMovie for editing.
    Tips:
    1. This program supports batch tasks so that you can download multiple YouTube video files in batches at a time.
    2. Pavtube YouTube Converter for Mac adopts multi-threading technology, which makes its download speed is faster than any other similar YouTube downloader.
    3. Besides YouTube.com, it can also automatically detect and download online videos in the format of .flv, and f4v from many other video-sharing websites, like Yahoo Video, Myspace, Google Video, Fox and more.
    4. It also provides users with conversion function, with which you can convert any YouTube FLV/F4V files to other formats like MP4, MKA, WAV, AC3, MKV, FLV, MP3, M4A, 3GP, AVI, MOV, MPG, etc. at will.
    5. If you only use it as a YouTube downloader without format conversion, you can take it as a piece of freeware.
    All right, this guide is ending up now; hope it will do you a favor while downloading video files from YouTube as well as importing them to iMovie for further editing.

    It's a clip from CNN (with all credits etc. added). When one refers to it as a clip posted on "YouTube", then people understand the quality will be poor.
    I've watched television go from everything shot on a tripod with clean, meticulous editing rules, to almost anything goes. It has to do with cultural reference.

  • How to get and install the new MSI Bluetooth Software Package 1.4.3.3.

    How to get and install the new MSI Bluetooth Software Package 1.4.3.3.
    This little FAQ will only cover the new version of MSI Bluetooth Software Package.
    First thing too do is unistall any older version of the MSI Bluetooth Software.
    Do this through the Add/Remove program applet in your control panel.
    There seams too be only through Live update you could get the new version of MSI Bluetooth Software Package.
    If you can't see any enter for MSI Bluetooth Software in the Live driver section of Live update then you have too enter the following too your registry.
    Create following code in Notepad and save it as MSILD.reg, then run the file.
    ;-->Code start
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\MSI\Drivers\MSI Bluetooth Software]
    "DrvSetup"="1"
    "Version"="1.4.2.10"
    ;-->Code end
    Rerun the Live update and hopefully you will now see a entry for MSI Bluetooth Software in Live driver section.
    Install the new version of MSI Bluetooth Software and reboot your computer. Even if the setup program doesnt told you too doit.
    After rebooting the computer you will see the Bluetooth icon in the taskbar. If it's Red then try too start the Bluetooth services by right click on the try icon and the only alternetiv there is.
    If the Bluetooth services is asking for a valid licens.dat then you should do the following.
    Surf to Jon's Bluetooth guide http://www.jonsguides.com./bluetooth/prepare.html and download the patcher from the link there.
    Unzip the the patcher and then run the BTWPatcher.exe program.
    Now the Bluetooth services will start and you will bee able too configure your own settings for the Bluetooth services.
    If nothing of this work you could try the complete Bluetooth solution at Jon's gudie and install the IBM version of the same program. I havent test this solution and will not do soo.

    I have the MS-6968 device and i want to use driver 1.4.x or 3.0.x. I found the driver 1.4.2.10 but i cannot find any WIDCOMMSecurity code.
    So, can anyone give me a link for BTWPatcher.exe???
    It cannot be found here (Jon's Bluetooth ) anymore.
    Thanks

  • How do download and install firefox from redhat command prompt step by step with commands

    How do download and install firefox from redhat 6 command prompt
    Im new to Linux so would appreciate step by step details with commands

    Is your Windows Vista 32 or 64 bit?
    To find out if your computer is running 32-bit or 64-bit Windows, do the following:
    Open System by clicking the Start button, clicking Control Panel, clicking System and Maintenance, and then clicking System.
    Under System, you can view the system type.

  • How to Export and Import the schemas

    How can i export & import the schema's ? pls give me some example on how to do it.
    Could anyone pls show the commands to retrieve the Tablespace information... i mean what its initial size.. and how much of space has been used...
    ur reply is very much appreciated
    regards
    Muraly

    user11136977 wrote:
    Hi all,
    i am trying to export / import, need to know the commands
    =>how to export and import full schemas from 1 user to another
    =>how to export and import database
    =>how to export the tablespaces
    RegardsNo version, must be 10g then.
    All you asked and much more in the Utilities guide.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560
    HTH
    Aman....

  • How to export and import the Portal Components

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...

    The migration of any Portal DB provider components, has the following steps.
    Assume that you are migrating a form component form_X.
    1) Click the export link of the form_x.
    (this will take you to create transport screen).
    2) Specify a name of the transport set which you are going to create. (eg., "My form_X transportset")
    (Since the objects are migrated using a container which is in other words called as 'Transport Set').
    3) In that select the export now button.
    (this will mark your form component form_X for export).
    4) Verify that the status of the transport is 'Extract Complete'
    (check with the browse transport screen in Export/Import Portlet under Admin tab).
    5) Now, the object information is extracted into transport set tables used by Portal Export/Import Utility.
    6) Go to that particular transport set, (browse transport) and download the script available.
    7) That script will lead you to various steps,
    (create a dump ).
    8) In the target instance, import that dump using the same script again.
    9) Merge the contents of the dump (form_X information) into any of the application.
    (Import option => in the export/import portlet under admin tab).
    10) Verify that the status of the transport set is 'Merge Complete'.
    Now, the object is migrated and ready for use.
    (Here are explaining the export/import process in detail.
    You can refer the export/import manuals.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/INTERNALPRODDEVFOLDER/TECHREADINESS/CM_PUBLISHING/EXPIMP/EXPORT_IMPORT_LOB0.PPT

  • How to export and import Portal Components

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...
    Sudheer

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...
    Sudheer Hi Ravikanti,
    Here are two things you can do to get started.. In 9iAS Release 2, Export/Import functionality is provided via a set of export/import utilities included with 9iAS Portal.
    1) If you have not had the opportunity yet, a good place to start is to download and review the Oracle9iAS Portal 9.0.2.2 Export/Import FAQ posted on portalcenter.oracle.com.
    Here is the URL for the Portal 9.0.2.2 Export/Import FAQ:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/EXPORT_IMPORT_FAQ_1127.HTM
    2) For official documentation on Portal 9.0.2 Export/Import, refer to the Task Help in the Online Documentation for Portal Import/Export (accessible from the question mark help icon within the "Browse Transport Sets" wizard.)
    Best Regards,
    Harry

  • How to export and import template and dimensions mumbers between 2 appset

    hi expert:
          1.How to export and import template and dimensions mumbers between two application set
          2. In Our project Requirement ,
              we moust be  develop our planning in develop evn application set , distribute template and
              dimension mumbers to another  Qas applications set .
         3. how can  i   package our template in dev application set  and Anti-package to Qas application set
             with BPC  system tools?
         4. This  Requirement  is  from  our Security control Dep. we must be change template version or dimension
              mumber with system tools.
         5.thanks for your help!

    Ian,
    So, in other words, you're saying that it's not possible to export directly objects (like smart albums) that reside outside of projects?
    I know, for example, you can "export" anything created inside a folder by dragging and dropping the folder to another library; but you then have to rebuild the library to get the new folder and its contents to be recognized. For my library, this takes too much time to do.

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........
    regards,
    venu.

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

  • How to export and import from AIX to solaris a whole schema with different

    how to export and import from AIX to solaris a whole schema with different character set
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    Import terminated successfully with warnings.

    The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
    For more info...check out (pertains to 9i):
    Export
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
    Character Ste Migration
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
    HTH

  • Old computer with song library (many iTunes) died but my iPod has all songs loaded. How to download iPod songs to new computer

    Old computer (PC) with song library (many iTunes) died but my iPod nano (5th gen) has all songs loaded.  How to download iPod songs to new PC and new iPhone6?

    Hi BigDukeDog,
    Songs that were originally purchased from the iTunes store may be brought from an iPod back to a computer. See this article for information on how to -
    Re-download or transfer your iTunes Store purchases from an iPhone, iPad or iPod to a computer - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • HT3281 How to download and update iso 6

    I would like to learn how to download and update iso 6 in my iPad

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

Maybe you are looking for

  • Photos missing from Catalog All Photographs

    Currently I show 8044 under Catalog - All Photographs in the library module grid view, but when I click on All Photographs I see at the bottom of the library module"All Photographs / 8026 of 8044 photos" 18 less than what the catalog of All Photograp

  • Question on PO conversion

    Hi, I have a question on PO conversions. What is best way to convert Open Blanket purchase agreements which have some releases. For example Blanket agreement of $1000 R1,R2,R3 combined $300 Amount remaining on BPA $700 At this point if we start our c

  • Lsmw SAP object structures

    Hello, Can anyone tell me how the source file should be created when using multiple structures as it is used in standard SAP objects. How does the tabular seperated file look like? How do you link 1:N relationship in that very same file? Is it possib

  • Fingerprint scanner screwed up

    OK, so I'm new to this. First off, I'm not a computer expert, and do not even know what a "driver" is. I just don't understand how I bought this laptop in part because of the fingerprint scanner, and now I can't use it unless I'm turning the computer

  • Deleting Voicemail from Landline Call Does not Delete Voicemail from iPhone

    I am a Verizon subscriber with an iPhone 4S, if that matters to this issue. I wanted to cleanup my voicemail and not use any of my minutes.  So, I called my iPhone from a landline at the office and entered the voicemail system.  As a test, I deleted