HTTPS connection to a server?

Dear Sir

I have an HTTPs connection to a server (which the certificate is not signed by a certificate authority) with a BlackBerry.

Is it possible to install the certificate on the BlackBerry?

I didn't found any documentation about it.

Could you please help me?

Thank you very much

Access the Web site using your browser to install the certificate.

Later, third-party application can connect using https to the server.

Tags: BlackBerry Developers

Similar Questions

  • HTTPS connection to the server using the connection

    Hello! It is a part of my code to connect to a secure server.

    However, it is not show me if the connection has been connected. Is there something wrong with my code?

    ' Public Sub validateUser (String usernamelogin, String passwordlogin) throws IOException {}

    HttpsConnection httpConn = null;
    String url = "https://myserverpage/login?";
    InputStream is = null;
    OutputStream os = null;
        
    Cookie string ="";
    Params string;
    params = 'name =' + usernamelogin;
    params += "& password =" + passwordlogin.replace (' ', '+');

    try {}
    Open an HTTPs connection object
    httpConn = (HttpsConnection) Connector.open (url + params);
    Setup HTTP POST request
    httpConn.setRequestMethod (HttpsConnection.POST);

    httpConn.setRequestProperty ("Cookie", cookie);
    httpConn.setRequestProperty ("Accept_Language", "en-US");
    Content-Type is essential to pass parameters in a POST request
    httpConn.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
          
          
          
    httpConn.setRequestProperty ("name", usernamelogin);
    httpConn.setRequestProperty ("password", passwordlogin);
          
    secure https
    If SecurityInfo = httpConn.getSecurityInfo ();
    Certificate c = si.getServerCertificate ();
    Object String = c.getSubject ();

    This function retrieves this connection information
    getConnectionInformation (httpConn);

    OS = httpConn.openOutputStream ();

    OS. Write (params. GetBytes());

    / * ATTENTION: os.flush () is controversial. It can create unexpected behavior
    on some mobile devices. Try it for your mobile device * /.

    OS. Flush();

    Read the response from the server

    StringBuffer sb = new StringBuffer();
    is = httpConn.openDataInputStream ();
    int chr;
    While ((chr = is.read (())! = - 1).
    SB. Append ((Char) chr);

    Web server returns only
    System.out.println (usernamelogin + "is connected" + sb.toString ());

    } {Finally
    If (is! = null)
    is. Close();
    If (OS! = null)
    OS. Close();
    If (httpConn! = null)
    httpConn.close ();
    }

    }

    The fact of this aid.

    http://supportforums.BlackBerry.com/T5/Java-development/implement-basic-HTTP-authentication/Ta-p/445...

  • HTTPS connection to the server with the host name which has its IP address

    Hi all

    I work in a development of the solution where a server application is running in a machine and hosts of Application Service SOAP over HTTPS. The server has the certificates for its IP address. My client application tries to use the SOAP Service; but when I connect to the Application Server using the HOST name in the URL, I get the SSLException indicating that the HOST name does not match name the object.

    If I use the IP address in the URL, it works well - but I do not like the server application can move to different IP dynamiccaly - if you are using DNS is our solution to hide this complexcity from client applications.

    Help, please.

    Kind regards
    Kaja

    the HOST name does not match name the object.

    The host name does not have the name of the topic in the server certificate. He agrees with host.domain name.

  • Firefox and safari... can not establish a connection with the server of http sites

    Hi I have a mcbook pro loaded with OSX X Yosemite 10.10.3. For some time on safari and firefox I can access https sites only and get an error message "Unable to connect", then then specifically line "Firefox can't establish a connection to the server www.seek.co.nz.

    On the same network, I have an iMac OSX X Yosemite 10.10.5 running and can access http sites that my laptop will not. I compared the network settings and they are identical, I disabled the extension and erased the caches, but always without success. Any siggestions?

    Hello. Take a look at this article, maybe this will help you. OS X Yosemite: If you can't connect to the Internet

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • Connection to the server. Why 2?

    I had issues with a new Synology NAS and I believe that I made a mistake when you configure.

    I tried for several days to make a Time Machine backup without success.

    Today, I noticed that the Synology is accessible by at least 2 channels - 1 is the afp:------name I called him when you configure (imagination DS916!) or the other way is the address afp:\\IP.

    The address "name" appears in the column of my Mac Finder and can be accessed at any time. The address of 'number' should be accessible via the Finder / go / connect to the server, and I'm asked to mount one or more discs (basically shared folders).

    I changed the backup drive TM at the address of 'number' instead of 'name' address (they both presented) and it seems to work! Hallelujah!

    So how is it, I have 2 addresses and is likely to cause any other annoyances? How can I get rid of one?

    Thank you very much for any help offered. I asked at the forum Synolgy a few days ago but had no answers... Thank you.

    the system is supposed to be supported by synology but not by apple and apple don't fix other issues of software developers.

    You can read this for more insight as to the nature of the problem.

    http://pondini.org/TM/2.html

    also your MBA does not run iOS and to greater clarity, you must change your profile to show your good version of OS X (not iOS) running on your laptop. Thank you.

  • When reading emails, said TB connected to the server, but is not download emails

    The following suddenly started happening. (Things are working very well for several months on the same account settings).

    When I try to retrieve the email from my IMAP e-mail server, there is a message at the bottom that says that Thunderbird is connected to the server, but nothing happens thereafter - no emails are downloaded.
    Thunderbird invites me even a password to connect to the IMAP server as it usually does.

    However, note that I * can * send emails without problem (via the configured SMTP server).
    As well, I have no problem reading the emails on the server even on other customers of emails with same account settings.

    The problem started after I upgraded to Thunderbird 38.2.0, an earlier version of a few months back).
    Thunderbird prompted me to do the upgrade, and it can have kicked so he was still connecting and authenticating to the IMAP server - which is just speculate offshore.

    Any ideas what I can do?

    Details of the platform: Thunderbird 38.2.0, Windows 7 x 64, entering via the SSL Protocol IMAP, SMTP outgoing via the SSL protocol

    Thanks in advance

    Glen

    Thunderbird 38 is indeed longer than previous versions... See my blog. There are a few things you can do. Ranging from Fix Security broken on the server to a temporary add-on which will establish market if the server hotfix is delayed.

    http://thunderbirdtweaks.blogspot.com.au/2015/07/logjam-and-Thunderbird.html

  • Firefox sync fails to connect to the server.

    Firefox sync has not worked on my laptop for the last days. It fails with the error
    "Unable to connect to the server. Synchronize automatically retrying this action. »
    Sync works fine on my Android device on the same network. I tried to disconnect and reconnect my sync account and also tried to synchronize in safe mode without success. The error in the synchronization log report: https://pastebin.mozilla.org/8834320.
    About: config the services.sync.clusterURL is not set. services.sync.tokenServerURI has the value default 'https://token.services.mozilla.com/1.0/sync/1.5'.

    Understand the problem. I had activated FIPS compliance on my software security device. Apparently, WeaveCrypto used by sync is not FIPS compatible. I disabled FIPS now and sync works fine. Bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=443386

  • When opening firefox I get unable to connect to the server on my home page, but then I open my favorites websites. How can I solve this?

    I have a loading time long when I open firefox 35. Then cannot connect to the server, but I can open then well websites through my list of bookmarks. Trying to reinstall, didn't help, makes google my homepage in the options does not help.

    It is possible that your security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and allow your firewall to ask permission to get access full and unrestricted, again to install for Firefox and the plugin-container and the update process.

    See:

    Make a check of malware with several malware scanning of programs on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

    Do a clean reinstall and delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.

    If possible to uninstall your current version of Firefox to clean the Windows registry and settings in the security software.

    • Do NOT remove the "personal data" when you uninstall your current version of Firefox, because this will remove all profile folders and you lose personal data such as bookmarks and passwords including data profiles created by other versions of Firefox.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • (32-bit Windows) "C:\Program Files\Mozilla Firefox\"
    • (Windows 64 bit) "C:\Program Files (x 86) \Mozilla.

    Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but do NOT delete personal data when you uninstall Firefox which removes all Firefox profile folders and you lose your data.

  • Safari/Firefox cannot connect to the server

    I'm trying to solve a problem, preventing a browser (Safari, Firefox), to access a website... because the same message appears «...» Unable to connect to the server. Could not open the page "http://www...". "' because... unable to connect to the server", not for all websites... just some, is this likely to be other than a virus/spyware/mailware question? I ran Etrecheck and have the following report:

    Any help would be appreciated

    EtreCheck version: 2.9.13 (267)

    Report generated 2016-07-11 22:33:59

    Download https://etrecheck.com EtreCheck

    Time 02:23

    Performance: Excellent

    Click the [Support] links to help with non-Apple products.

    Click the [details] links for more information on this line.

    Click [delete] to remove the adware.

    Click on the link [check files] help with unknown files.

    Verify the signatures of Apple: enabled

    : Another problem

    Hardware information: ⓘ

    MacBook Pro Intel Core 2 Duo (aluminum unibody) (Late 2008)

    [Technical details] - [User Guide] - [warranty & Service]

    MacBook Pro - model: MacBookPro5, 1

    1 2.4 GHz Intel Core 2 Duo CPU: 2 strands

    8 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 4 GB DDR3 1067 MHz

    0/DIMM1 BANK

    OK 4 GB DDR3 1067 MHz

    Bluetooth: Old - transfer/Airdrop2 not supported

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = replace soon - Cycle count = 1338

    Video information: ⓘ

    NVIDIA GeForce 9400M - VRAM: 256 MB

    Color LCD 1440 x 900

    NVIDIA GeForce 9600M GT - VRAM: 256 MB

    System software: ⓘ

    OS X Yosemite 10.10.5 (14F27) - time since started: about 7 days

    Disk information: ⓘ

    SAMSUNG SSD 850 EVO 250 GB disk0: (250,06 GB) (Solid State - TRIM: No.)

    EFI (disk0s1) < not mounted >: 210 MB

    Macintosh HD (disk0s2) /: 249,20 (Go 162,21 free)

    Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB

    MATSHITADVD-R UJ-868)

    USB information: ⓘ

    Built-in ISight from Apple Inc..

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Apple Inc. BRCM2046 hub.

    Apple Inc. Bluetooth USB host controller.

    Goalkeeper: ⓘ

    Mac App Store and identified developers

    Adware: ⓘ

    /Library/LaunchAgents/com.sarcophagusscarid.agent.plist

    /Library/LaunchDaemons/com.adrenineUpd.plist

    /Library/LaunchDaemons/com.ossificUpd.plist

    /Library/LaunchDaemons/com.pseudofilariaUpd.plist

    /Library/LaunchDaemons/com.sarcophagusscarid.daemon.plist

    /Library/LaunchDaemons/com.sarcophagusscarid.helper.plist

    6 adware files found. [Remove]

    Unknown files: ⓘ

    / Library/LaunchDaemons/com. Hecatean.plist

    /etc/Hecatean.sh

    / Library/LaunchDaemons/com. Chiasmus.plist

    /etc/Chiasmus.sh

    /Library/LaunchDaemons/com.solidifiableness.plist

    /etc/solidifiableness.sh

    /Library/LaunchDaemons/com.uertur.plist

    4 unknown files found. [Check files]

    Launch system officers: ⓘ

    [loaded] 5 tasks of Apple

    [loading] 147 tasks Apple

    [operation] 60 tasks Apple

    Demons of launch system: ⓘ

    [loaded] 45 tasks Apple

    [loading] 133 tasks Apple

    [operation] 84 tasks Apple

    Launch officers: ⓘ

    [loading] com.google.keystone.agent.plist (2016-03-03) [Support]

    [operation] com.sarcophagusscarid.agent.plist (2015-09-23) [Support]

    Launch of the demons: ⓘ

    com [running]. Hecatean.plist (06 / 06/2016) [Support]

    [failure] com.adobe.fpsaud.plist (2016-05-09) [Support]

    [loading] com.adrenineUpd.plist (2015-10-14) Adware!  [Remove]

    /etc/run_upd.sh

    [operation] com.apple.enthinge.plist (2016-05-19) - no signature!

    [operation] com.apple.usktas.plist (2016-05-26) - no signature!

    [operation] com.chiasmus.plist (2016-06-08) [Support]

    [loading] com.google.keystone.daemon.plist (2016-03-03) [Support]

    [loading] com.microsoft.office.licensing.helper.plist (2010-08-25) [Support]

    [loading] com.ossificUpd.plist Adware (2015-10-12)!  [Remove]

    /etc/run_upd.sh

    [loading] com.pseudofilariaUpd.plist (2015-09-29) Adware!  [Remove]

    /etc/run_upd.sh

    com.sarcophagusscarid.daemon.plist [no charge] (2015-09-23) Adware!  [Remove]

    / Library/Application Support/SarcophagusScarid/Agent/agent.app/Contents/MacOS/agent

    [operation] com.sarcophagusscarid.helper.plist (2015-09-23) Adware!  [Remove]

    / Library/Application Support/SarcophagusScarid/Agent/agent.app/Contents/MacOS/agent

    [operation] com.solidifiableness.plist (2016-06-08) [Support]

    com.uertur.plist [no charge] (2016-05-15) [Support]

    [loading] jp.co.canon.MasterInstaller.plist (2015-06-28) [Support]

    Launch User Agents: ⓘ

    [operation] com.spotify.webhelper.plist (2016-07-04) [Support]

    jp.co.canon.Inkjet_Extended_Survey_Agent.plist [no charge] (2012-12-04) [Support]

    User login items: ⓘ

    iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    Synchronization of box application (/ Applications/box Sync.app)

    Hidden Spotify Application (/ Applications/Spotify.app)

    Box Edit Application (~/Library/Application Support/box/Box/editing area Edit.app)

    Application Com Local Server box (~/Library/Application Support/box/Box/editing area local Com.app)

    Other applications: ⓘ

    [Ongoing] /library/uertur/uertur.app/Contents/MacOS/uertur

    com [running]. Box.Box - Edit.71032

    [ongoing] com.Apple.XPC.launchd.oneshot.0x10000004.Microsoft Word

    [operation] com.box.Box - local-Com - Server. 40360

    [ongoing] com.box.sync.27580

    [ongoing] com.microsoft.Excel.94036

    [ongoing] com.Microsoft.AutoUpdate.FBA.11392

    [ongoing] com.spotify.client.48028

    [ongoing] JP.co.Canon.IJ.scanutility2.CIJSUAgent

    [ongoing] org.Mozilla.Firefox.28432

    [loading] 365 tasks Apple

    [operation] 185 tasks Apple

    Internet Plug-ins: ⓘ

    FlashPlayer - 10.6: 21.0.0.242 - SDK 10.6 (2016-05-20) [Support]

    QuickTime Plugin: 7.7.3 (2015-10-14)

    Flash Player: 21.0.0.242 - SDK 10.6 (2016-05-20) obsolete! Update

    EPPEX plugin: 10.0 (2014-09-16) [Support]

    Default browser: 600 - SDK 10.10 (2015-10-14)

    SharePointBrowserPlugin: 14.6.4 - SDK 10.6 (2016-06-08) [Support]

    iPhotoPhotocast: 7.0 (2015-03-02)

    3rd party preference panes: ⓘ

    Flash Player (2016-05-09) [Support]

    Time Machine: ⓘ

    Time Machine not configured!

    Top of page process CPU: ⓘ

    10% WindowServer

    kernel_task 2%

    2% spotify Helper (2)

    1% box sync monitor

    1% fontd

    Top of the process of memory: ⓘ

    847 MB kernel_task

    Firefox 598 MB

    Softwareupdated 475 MB

    344 MB Spotify Helper (2)

    Mail 254 MB

    Information about virtual memory: ⓘ

    1.22 GB of free RAM

    used GB RAM 6.78 (2.15 GB being cached)

    Used Swap 0 B

    Diagnostic information: ⓘ

    July 10, 2016, 13:18:34 /Library/Logs/DiagnosticReports/chiasmus_2016-07-10-131834_[redacted].crash

    / Library/chiasmus / * / chiasmus

    Click go > computer > Macintosh HD > library > LaunchDaemons remove adware in trash, restart > empty trash.

    Adware: ⓘ

    /Library/LaunchAgents/com.sarcophagusscarid.agent.plist

    /Library/LaunchDaemons/com.adrenineUpd.plist

    /Library/LaunchDaemons/com.ossificUpd.plist

    /Library/LaunchDaemons/com.pseudofilariaUpd.plist

    /Library/LaunchDaemons/com.sarcophagusscarid.daemon.plist

    /Library/LaunchDaemons/com.sarcophagusscarid.helper.plist

    6 adware files found. [Remove]

  • [RESOLVED by itself] Firefox Sync: unable to connect to the server for 12 hours now

    New installation of Windows 7 64 bit
    New installation of Firefox 28

    Is my sync configuration, enter the user, pass & recovery key.
    It hangs on the audit for more than five minutes.

    Then displays error: unable to connect to the server
    See the screenshots: http://i.gyazo.com/0d19d680eae937fa27ace5df59caaa5d.png

    This happened during the last 12 hours.

    The State of the system (https://services.mozilla.com/status) Says:
    "The Firefox Sync service is running normally.
    There is no known issues at this time. '

    I tried to disable the firewall and I use MS Security Essentials.

    Please advise?
    Thank you.

    This issue is resolved itself today.

  • I'm upgrading Firefox 20.0 but not automatically connect to the server, just hangs. Why? 19.0.2 States that it is "free" update channels: what is it?

    Regularly alert is displayed to update me to 20.0 but it does not connect to the server - even if I have no problem with the modem at another time. It just hangs there. I thought that Firefox will update automatically. I have topped up, as advised but still 19.0.2. On the message States, I am currently on the channel "update of output". What does that mean? Do I need an update? Why?

    "update of output" means that you are using the stable version of Mozilla Firefox.

    Have you tried to reset firefox and then runs the update to verify that it contains that you are to the latest version?
    https://support.Mozilla.org/en-us/KB/reset-Firefox-easily-fix-most-problems

  • Connect to the server only in the office

    I want to know if there is a way that when I'm at my computer desktop will automatically connect in server folders, and when I'm at home it will automatically connect in server folders at home.  When I'm here every time that I also have to manually connect to the server and then when I go out to disconnect manually.  I want to if there is a way that the computer can make these connections without me manually linking every time and he knows what network I'm connected to so it only connects in the records of good server for this location.  I tried to use it as a point of connection, but I do not start my computer whenever I come home or when I get to the office.

    I've got El Capitan installed and updated.

    You can take a look at an application called ControlPlane (http://www.controlplaneapp.com/about/). It performs actions based on rules based on the network, etc.

  • Firefox's automatic update fails. Does not connect to update server why?

    I use Mac OS X Version 10.7.4. I'm also under Firefox version 14.0.1. I am invited to upgrade to version 15, but trying to update, the Update window hangs up for hours and is never spent "connection to the server." I tried to install version 15 and trash my last version however I get another pop up box that says something like "can't complete because of certain elements are ignored." I followed the troubleshooting instructions (file > info, and then make sure that all items are unlocked) but this still does not resolve my problem. Can anyone offer some advice? Please?

    Hi suzumaki

    If there is a problem with the update or permissions best, fastest and safest is to download and install firefox:

    1. download a copy of the latest http://www.mozilla.org/en-US/firefox/all.html firefox

    2. Trash , install the current application of Firefox to do a cleaning.

    3. install the version you downloaded.

    Do not select to delete your personal data, your profile data is stored in the Firefox profile folder, so you will not lose your bookmarks or other personal data.

    See also: Installation of Firefox on Mac

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • update to connect to the server never connects I tried to reset. Use 14-10

    Hi, I use Firefox 14-10. I get a notice and a link to update. I click to update. It is said: "Connecting to the update server" forever. I can leave it like that for hours, is not serious. Never connects. I tried to reset my firefox but still do not connect to the server.

    I read a few answers, but they are very old. I don't want to uninstall and reinstall if I can help it.

    I use Windows 7.
    Thank you!

    If there are problems with the update then best is to download the full version and uninstall the currently installed version.

    Remove the Firefox program folder to remove all remaining files if there are still problems.

    Download a new copy of Firefox and save the file to the desktop.

    Uninstall your current version of Firefox, if possible, the settings in the software security and cleaning of the Windows registry.

    • Do NOT remove the data personal when you uninstall your current version of Firefox, because all profile files will be deleted and you will also lose your personal data such as bookmarks and passwords from other versions of Firefox profiles.

    Your bookmarks and other profile data is stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but make sure that 'delete personal data' is NOT selected when you uninstall Firefox.

Maybe you are looking for