How to open https in WebView ?

How to open https in WebView ?
for example : https://mail.google.com/

The dynamic.12306.cn certificate is not valid - you should install a valid certificate on dynamic.12306.cn.
If I try to open https://dynamic.12306.cn/otsweb/ in Firefox, Firefox will reject the connection:
dynamic.12306.cn uses an invalid security certificate.
The certificate is not trusted because it was issued by an invalid CA certificate.
(Error code: sec_error_inadequate_key_usage)The only way I can get firefox to open the connection is to click on "I understand the risks" on the interstitial error page displayed by firefox and add an exception for the site.
Opening up the certificate from https://dynamic.12306.cn/otsweb/, you can see that it's key usage is:
Not Critical
Signing
Non-repudiationThese are not valid key usages for SSL.
By contrast if you look at the certificate form https://mail.google.com, you can see that it's key usage is:
Not Critical
TLS Web Server Authentication (1.3.6.1.5.5.7.3.1)
TLS Web Client Authentication (1.3.6.1.5.5.7.3.2)
Netscape Server Gated Crypto (2.16.840.1.113730.4.1)TLS is just the name of the standardized version of SSL, so this is why the google.com certs work, but your 12306.cn cert does not.
Buy a valid server certificate from a certificate authority which is trusted by Java. For example, any of the certificates purchasable from here: http://www.thawte.com/ssl/index.html (same company google uses) and install the certificates on the dymanic.12306.cn web server.
If you do not control or have access to the dynamic.12306.cn web server, then you could install a custom https protocol handler in your client so that it ignores certificate errors and tries to establish as SSL connection anyway - but that is somewhat tricky and I would not advise that anyway.

Similar Messages

  • I get keep getting this when I get emails ( dosen't know how to open this address because the protocal(blocked http) isn't associated with any program

    I get keep getting this when I get emails ( dosen't know how to open this address because the protocal(blocked http) isn't associated with any program

    That is the current AKO policy, see [/questions/747157]
    *http://usacac.army.mil/CAC2/MilitaryReview/EmailAnnouncementNotification.pdf

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

  • I am getting this error message when trying to get to a college webpage Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.

    I am trying to get to a college webpage for information and get this error message from firefox Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.
    == This happened ==
    Every time Firefox opened
    == whe trying to access webpage

    Is this coming from a link, or from something you are trying to type in the address bar?
    Try replacing the "html" at the start with "http",
    so if you have html://somesite.edu,
    change it to http://somesite.edu.

  • How to open and read data from text file in PL/SQL

    We have a project ,need to open a file containing entries of data
    ,then process those data records one by one to update the
    database.This operation shoulbe be done in the database
    enviroment. Is there any hint about the file operation in
    PL/SQL? How to open the file and get one record ,maybe one line,
    and parse and get the data field ?
    thanks
    defang

    There was also a question on this over at AskTom
    (asktom.oracle.com) about a week ago complete with sample code.
    The pointer to the sample code is here:
    <A HREF="http://asktom.oracle.com/pls/ask/f?
    p=4950:8:::::F4950_P8_DISPLAYID:464420312302
    TARGET=_blank>http://asktom.oracle.com/pls/ask/f?
    p=4950:8:::::F4950_P8_DISPLAYID:464420312302</A>
    Admittedly it's about Win95, but the principles should apply.
    Yours faithfully, Graham Reeds.
    [email protected] | http://omnieng.co.uk/

  • How to open an URL and close the URL window, using adobe javascript

    Hi,
      Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
    Thanks.

    Hi all
    In addition to what Bobby W - Adobe TS added, you might find
    the following useful as a bypass or workaround to the pesky prompt.
    var pw=window.parent;pw.opener=window.self;window.open("
    http://www.adobe.com");
    pw.close();
    I think this will only work for IE browsers. Actually, I
    think the whole window.close() only works for IE, but could be
    wrong about that.
    Cheers... Rick

  • How to open and save PDF from web?

    I can't see how to open a PDF in adobe from safari

    This should help:
    http://forums.adobe.com/docs/DOC-2532

  • How to open and the view the .jsp(OAF) page and it's related code?

    Hi,
    Can anybody help on how to open the .jsp and it's related java files to see the coding? I want to know the table and view details related to a particular OAF page. It will be great help if someone explains.
    Thanks in advance.
    Muruga.
    Edited by: Murugeshapps on Jun 26, 2009 6:37 AM

    Hi,
    Please see the following documents.
    Note: 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416708.1
    Note: 330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=330236.1
    For further OAF questions, please post it in [Technology - OA Framework |http://forums.oracle.com/forums/forum.jspa?forumID=210] forum, you would probably get a better/faster response.
    Regards,
    Hussein

  • How to open and read Excel Sheet from SharePoint 2013 Document Library using C# Visual Studio 2012

    Hi,
    To achieve these are the steps that I had followed :
    1. Add the document Library path into Central Admin -> Application Mgmt -> Manage Service App -> Excel Service App -> Trusted File Locations
    2. Add Documnet Library link to Trusted Connection Proivder
    3. Open Visual Studio as Run as Administrator
    4.Create an SharePoint 2013 Empty Project.
    5.Add Service Reference : http:\\<server>\_vti_bin/excelservice.asmx
    6.Service added successfully
    7.Create a class file and add the Service Reference namespace
    There is no such class as ExcelService to call. 
    Please let me know if somebody knows how to open the Excel file into C#(2012)  either using ExcelService or any other way to open. I tried old methods of Sharepoint 2010 server but it's not able to access classes.
    Requirement is :
    Need to read the excel sheet  from Document Library and transfer all data into DataTable.
    Please help asap. 

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, I'll move your question to the SharePoint 2013 development forum
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointdevelopment
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • For a SharePoint list LVWP - how to open links in new window? (Without SPD - Without access to server)

    Hi there,
    I canNOT use SharePoint Designer nor do I have access to server to change any 14 hive files.
    I have a SharePoint 2010 List with a field of type Hyperlink. I need these links to open in New Window. Only links with-in this LVWP should open in new window (and not links on Quicklaunch or top nav).
    Any clues how to achieve this please? JS is okay.
    Thanks.

    Hello,
    The good news is that you're not the first to have those requirements!
    Here's the JavaScript:
    <script>
    var allLinks = document.querySelectorAll("table.ms-listviewtable tr td a");
    for(var i=0; i<allLinks.length; i++){
    if(allLinks[i].onclick == null){
    var targetUrl = allLinks[i].href;
    targetUrl = targetUrl.indexOf("?") > -1 ? targetUrl + "&isDlg=1" : targetUrl + "?isDlg=1";
    allLinks[i].href= "javascript:var options = {width:500, height:300, url:'"+targetUrl+"'}; SP.UI.ModalDialog.commonModalDialogOpen('"+targetUrl+"', options);";
    </script>
    This script can be saved to a text file and uploaded to a document library. You can then add a content editor web part below your list view web part (so that it doesn't execute until after the list view has loaded) and set the "content link"
    property of the web part to be the path to the uploaded text file.
    The solution was originally posted here:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8ca275df-1d9c-4d0f-a624-c0531fda069a/how-to-open-model-dialog-onclick-of-list-item-hyperlink-column?forum=sharepointdevelopmentprevious

  • How to open a jasper report (html URL)

    Hello,
    currently we are testing the jasper report engine. We are already able to open such a report from forms by a forms personalization.
    Now we want to run a concurrent report where the output should be a link to a jasper report.
    For example:
    I start the request "open jasper report" with parameter "001". After successful finishing the request should give me a link like "http://jasper/myreport&parameter=001" which will be opened in a new browser tab.
    Well, is it possible to open a URL by using a concurrent request?
    Regards,
    Josef

    Hi Josef;
    Please check
    How to open an URL with PLSQL FUNCTION?
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/fnd_utilitiesopen_url-in-forms-personalization-2256431
    http://easyapps.blogspot.com/2008/03/image-file-attachment-in-oracle-apps.html
    http://www.scribd.com/doc/47603/Form-Personalization-for-R12
    Hope it helps
    Regard
    Helios

  • How to open a Poplist

    Hi Experts,
    I am working in Oracle 10g. I have a doubt regarding the poplist in oracle forms.
    My Question is, How to open and close a poplist through keyboard when a cursor navigates to an item?
    If tab or enter key is pressed the cursor goes to the next navigable field which is a poplist. My requirement is as the cursor moves to the poplist it should open automatically without a mouse click and after selecting a value from the list when tab/enter key is pressed it must close and move to next field.
    Shall I use any Jars or something else?
    Thanks in advance.
    Regards,
    Sufi

    Sufi,
    I work on an application that is required to be Section 508 compliant (see https://www.section508.gov/ if you don't know what this is).  We found through our testing that there is no way to actually open a Poplist from the keyboard, but you can navigate through the values in the Poplist using the Up and Down arrow keys as well as type the letters of the value you are looking for.  Using these methods, we were able to certify using Poplists were 508 compliant since a user can select a value from the Poplist using only the keyboard.
    Hope this helps.
    Craig...

  • HELP - How to open IDML?

    How to open IDML in other editors, when I tried to open in Notepad it's showing as junk and also how to edit the IDML file?
    Pl. help.
    Thanks,
    ArcRaj

    IDML is a zip archive of a folder structure with an IDML extension. If
    you want to examine the contents, you can just change the extension to
    zip and decompress.
    If you want to actually do anything useful with it, you should do a
    proper expand and package of the IDML. The easiest way is with a script
    from within InDesign. Here's what I use:
    Script #1
    //DESCRIPTION: Expands an IDML file into folder format
    ExpandIDML();
    function ExpandIDML(){
    var fromIDMLFile = File.openDialog( "Please Select The IDML File to
    unpackage" );
    if(! fromIDMLFile){return}
    var fullName = fromIDMLFile.fullName;
    fullName = fullName.replace(/\.idml/,"");
    var toFolder = new Folder( fullName );
    app.unpackageUCF( fromIDMLFile, toFolder );
    Script #2
    //DESCRIPTION:Produces an IDML package from the contents of a directory:
    CreateIDML();
    function CreateIDML(){
    var fromFolder = Folder.selectDialog("Please Select The Folder to
    package as IDML");
    if(!fromFolder){return}
    var fullName = fromFolder.fullName;
    // var name = fromFolder.name;
    // var path = fromFolder.path;
    var toIDMLFile = new File( fullName+".idml" );
    app.packageUCF( fromFolder, toIDMLFile );
    Harbs
    http://www.in-tools.com

Maybe you are looking for

  • Can't run report in ASYNCHRONOUS mode

    Hi All, I'm trying to make a report run in ASYNCHRONOUS mode. I want to press a button on a form, submit the report to the reports server and be able to navigate within the form while the report is being executed on the reports server. My problem is,

  • Print a line on the last or second from last page

    I'm using Oracle Report 10.1.2.3.0. I'd like to print a line on the last page of a report if the report has an odd number of pages or the second from last page of a report if the report has a even number of page. It is the later second from last requ

  • Function module to retain data for a given period.

    Hi all, This is my requirement: I have a selection screen on which a specific number of months is entered. Using the FM 'FI_PERIOD_DETERMINE' and passing the current date to it, I'll be fetching the current fiscal year and fiscal period. I got to ret

  • Increasing size of array

    is there anyway to increase the size of the array without losing previous information for example //String[] words = new String[2]; //words[0] = "Hello"; //words[1] = "Byes"; if i do this //words = new String[3]; //words[2] = "goodbye"; then the prev

  • General  task (inconsistency SOBJ error)

    Hi Experts, I have the following issue. When I am trying to make the tasks in my workflow as 'Genreal Task'(Edit>Attributes>GeneralTask), I am getting the following message. 'Please check the order's object list (inconsistency SOBJ)'. I  are able to