Connection to Facebook via HTTPS fails

Hello everyone,
I am trying to implement the Facebook API in CRM IC. To do so I followed SAP note 1832481. First, I downloaded a HTTPS certificate from facebook and uploaded it in transaction STRUST. Second, I implemented the API as described in the SAP note:
CALL METHOD cl_http_client=>create_by_url
   EXPORTING
     url           = 'https://graph.facebook.com/facebook/picture?redirect=false'
     proxy_host    = <HOST>
     proxy_service = <PORT>
     ssl_id        = 'ANONYM'
   IMPORTING
     client        = lr_client.
CALL METHOD lr_client->request->set_method( 'GET' ).
CALL METHOD lr_client->send.
I am not sure, if I have to use the HTTP or HTTPS port. So I tried both. Nevertheless, in both cases the HTTP(S) connection fails.
ICM logging, while using our HTTP port:
[Thr 6372] *** ERROR => illegal path specified {000c0fc9} [http_plg.c 4815]
[Thr 6380] *** ERROR => IcmConnInitClientSSL: Proxy connection to graph.facebook.com:443 failed (400:Bad Request) {00090fc8} [icxxco
ICM logging, while using our HTTP port:
[Thr 6360] *** ERROR => IcmConnInitServerSSL: SapSSLSessionStart returned (-25): SSSLERR_NO_SSL3_REQUEST [icxxconn.c   1730]
[Thr 6352] *** ERROR => IcmConnProxyHandshake: proxy read(5000) failed(rc=-6) [icxxioutil.c 230]
[Thr 6352] *** ERROR => IcmConnInitClientSSL: Proxy connection to graph.facebook.com:443 failed (0:) {00090fdf} [icxxconn.c 1834]
I thought that using SSL implies HTTPS?
Can anyone help? Thanks in advance!

The mentioned note says about the SSSLERR_NO_SSL3_REQUEST:
Reason:An external client (for example, a Web browser) attempts to open an unsecured connection (HTTP), even though the ICM port is secured by SSL.
Solution:Configure the external client so that it sets up secure connections (HTTPS) for the ICM. When you do this, take note of the configuration options in the user guide of the provider of the client you are using.
But how can I cofigure the external client? I mean, I have no influence on facebook, have I?

Similar Messages

  • How to block youtube and facebook via HTTPs in CX on ASA-X ?

    How to block youtube and facebook via HTTPs in CX on ASA-X ?
    now i use decrypt feature on CX module but can not block https traffic. Could you help me.

    Hi,
    Double-check your CX configuration with this guide:
    http://tools.cisco.com/squish/fCA6D
    And make sure you are redirecting HTTPS traffic to the CX
    Luis Silva
    "If you need PDI (Planning, Design, Implement) assistance feel free to reach us"
    http://www.cisco.com/web/partners/tools/pdihd.html

  • Getting error when connecting to url via https

    I am connecting to a url via https. Everything seems to work when I open the connnect as follows.
    conn = (HttpsURLConnection)theURL.openConnection();
    //Set the proper connections properties
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
    conn.setDoOutput(true);
    conn.setDoInput(true);
    But when I try to send data with the following code:
    StringBuffer sendThis = new StringBuffer();
    sendThis.append( URLEncoder.encode("uid=", "UTF-8") );
    sendThis.append( URLEncoder.encode("This is the UID", "UTF-8") );
    /* PrintWriter pout = new PrintWriter( new OutputStreamWriter( conn.getOutputStream(), "8859_1"), true);
    pout.print (sendThis.toString());
    pout.flush();
    I get an error that says "could not find trusted certificate"
    Could not find trusted certificate
    javax.net.ssl.SSLHandshakeException: Could not find trusted certificate
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA62
    75)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at java.io.OutputStream.write(OutputStream.java:58)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
    (DashoA6275)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:562)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Dash
    oA6275)
    What am I missing ?
    thanks in advance.
    kris.

    You have to make sure that the cert for the CA which signed the server's
    certificate is in your keystore (cacerts) file.
    Check out 'keytool' and the JSSE readme.
    Cheers,
    Billy.

  • Trying to connect to FMS via rtmp:// failed

    I cannot seem to establish a connection from flash via the
    flv playback component to the installation of my flash media server
    on my IIS web server.
    I have port 1935 opened but it keeps on failing.
    Can anyone suggest any considerations?
    Thanks

    Have you tried the port test at flashcomguru.com?
    What does your rtmp look like?

  • Connecting To Facebook via Lightroom 4.2

    I have attempted several times to get my Lightroom 4.2 to connect to Facebook.  I get to the point where it reads "authorizing.....", but that's as far as it goes, and never authorizes.  My e-mail address and password are correct, and I do pull Facebook up independently of Lightroom.  Any idea what it might be?

    Facebooks app problem or the app your using.  contact the app developer or look at their support site for help.

  • Can't connect to Facebook via 3G

    My Facebook does not work when I'm on 3G. It sais no internet connection and it won't load my news feeds or my notification. All other apps are fine. I do receive notifications on my toolbar but when i open the app it gives me error. I had the same problem with my old phone xperia P. Thanks for any help
    Solved!
    Go to Solution.

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    Does it work fine when you are connected to a Wi-Fi network? If yes, I suggest that you check your APNs, so there are no Proxy/Port that is causing this behaviour. You can find this via Settings > More... > Mobile networks > Access point name > Tap your internet APN and remove Proxy/Port if they are set.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Cant connect to facebook via instagram

    does anyone know why i cant get into my facebook friends when im on instagram ? all the setting and privacy settings are correct

    sounds like problem with your network carrier,not your phone. check th econidition of your SIM card and also your network data connection with them.

  • On iPad with iOS 8.0.2 I am experiencing photos are missing on Home page of some Facebook posts when connecting to Facebook via Safari

    I have noted that I am not able to view some photos of some Facebook posts on my Home page when I try to view on my iPad (iOS 8.0.2) via Safari. On some occasions I can refresh the page and some of the photos become visible, others remain the large white box with the tiny blue question mark in the center of the box. Anyone else out there with this problem? Thanx.

    Your iPhone's iOS must be same or newer than the one in backups. In your case it is older so you need to update your iPhone and then recover it with backup.

  • HT5500 I can no longer connect to Facebook via Safari, Firefox and Chrome from Admin account, but I can through the Guest account?  Any ideas?

    For some reason, Facebook is the only site I cannot reach when logged in as Admin.  When I switch to Guest then I can access Facebook.  I've cleared DNS cache. I've reset Safari, etc.  Something is real wierd.  Any ideas?

    I would try posting this in the right forum your in the ipad forum right now

  • Connecting to Facebook via Applications menu

    For some reason, I can't access Facebook using the above option.  As soon as I select Facebook, it flicks for like a second on the logon screen then jumps back to the Application main menu.
    Regards,
    Vanessa
    (Melbourne, Australia)

    Facebooks app problem or the app your using.  contact the app developer or look at their support site for help.

  • Unsigned applet load failure via HTTPS

    Java Plug-in 1.5.0_06
    MSIE 6.0
    Unsigned applet loading via HTTPS failed.
    We used a relative URL in an APPLET tag :
    <APPLET CODEBASE="/TEST/" ARCHIVE="test.jar" CODE="nl.myorganisation.test">
    The plugin does not seem to reuse the browser SSL-session.
    It looks like the plugin does not find installed certificates in Explorer stores.
    The 2th and 3th connection retry use an erroneous URL.
    network: Connecting https://myorganisation.nl/TEST/test.jar with proxy=DIRECT
    security: Loading Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loaded Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loading SSL Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loaded SSL Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loading Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loaded Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    load: class nl.myorganisation.test not found.
    Does anybody have any suggestion ?
    Thanks and greetings,
    Marc

    First, Java plugin don't use browser https connection starting JRE 1.4, for running an applet in https server, the browser need to establish a https connection first, then Java pugin will use another https connection.
    Second, Java plugin can read certificate from browser, starting JRE 1.5, you can go to Java control panel, Advanced tab, under security, check on the box:
    "Use certificate and keys in browser keystore"
    This way the Java plugin will read the certificate from browser too. (It will work automatically in IE browser, if you use Mozilla, you have to install JSS package first).
    To answer your question, you can either turn on that option or import https certificate into JRE keystore (using Java control panel) for https connection.
    Hope that answered your question.
    Dennis

  • In Photos I cannot connect my Facebook account

    hi...i have updated to the latest version of Yosemite, which included a change from iPhoto to Photos. it seems to work okay except for when i try to share pictures from Photos to Facebook.
    it directs me to add my Facebook account on Internet Accounts in System Preferences. I have attempted to add my Facebook account at least a dozen times and failed each time.
    i enter my email and password for Facebook and i get a box asking me to wait for a code to be texted to me to enter instead of my FB password. the code arrives, i enter it in the password box, and i get the same message in red: 'unable to verify account name or password'.
    then i receive messages on Facebook saying that an 'unrecognized' browser is attempting to log in to my account (even though i've 'approved' it as 'recognized' by me multiple times now).
    so i cannot connect with Facebook via my MacBook Pro (only through my iPhone).
    any suggestions?
    thanks.

    PPS. i did look into my log in history on Facebook, and each time i have attempted to connect from System Preferences, it registers in Facebook as a DIFFERENT system each time (even though i'm attempting to connect from the same computer each time). any possible reasons why this is so? thanks!

  • Cisco Network Assistant and add to comunity problem via HTTPS

    hello,
    i have big network of cisco switches and all is in my cisco network assistant in comunity connected via HTTPS. if i add new switch to network (all for HTTPS access is configured good: domain name, ip http secure-server, authenticate locale ...) and if i can add this switch to comunity (right click on icon and ADD TO COMUNITY), CNA say "Unable to Connect", because it can connect to switch via HTTP (i have disable it on switch), not via HTTPS. i have never version of CNA ... where is problem? why it not connect to switch via HTTPS? hmmm? thank you ... Peter

    "The HTTP server interface must be enabled to display the network assistant. " Source.
    You can put an access-list on the http server if you are concerned about security exposure.

  • Connecting To Zend AMF Backend Via HTTPS

    Environment:
    - Flash Builder 4
    - Flex 4 Beta 2
    - Zend AMF (the one that gets automatically downloaded in Flash Builder 4)
    Issue:
    Using Flash Builder's "Connect To PHP" wizard, I can connect to my Zend AMF backend via HTTP but not HTTPS (and yes, my domain does have a valid SSL certificate from a trusted CA - it is not self signed).  Upon selecting the PHP class (using a SFTP mount to my web host) via the wizard, Flash Builder dies when "introspecting the service" and it throws this error:
    Make sure that Zend Framework is installed correctly and  the parameter "amf.production" is not set to true in the amf_config.ini file  located in the project output folder.
    Warning:  require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream:  No such file or directory in /home <blah>
    If I change my PHP backend's URL from https://<domain> to http://<domain> then it works but I obviously need to use SSL for this application.

    I upgraded to Zend Framework 1.10, which didn't help.  I also just installed Flash Builder 4 Premium (which was just released today) and that didn't help my situation either although I believe the problem is how I'm attempting to get my Flex client to communicate to my hosted web server.
    All the examples I've seen demonstrate how to connect a flex client and PHP backend (via Zend AMF) to LOCALHOST.  I need to develop my Flex client on my laptop and hook into my PHP backend running on a hosted web server (not localhost).
    Here are my server properties:
    - Application server type = PHP
    - Server location:
         - web root = Y:  (this maps to my Y: drive on windows which is a SFTP mount to my web host)
         - root URL = https://cl21.<web_host>.com/~<username>
    - Output folder = Y:\<app>-debug
    I can get this to work if I use my dedicated domain name www.<my_domain>.com but I haven't yet purchased a dedicated IP and SSL certificate so I'm attempting to use my web host's shared SSL certificate (which is valid).  The problem seems to be related to the setting "root URL".  Can you not point the flex client to anything other than a root URL?  Most server-side development happens on a shared dev server (e.g. sandbox.company_name.com/developer1, sandbox.company_name.com/developer2, etc.)

  • User Authentication Failed via http BUT not with Visual Administrator !!?

    OS : Win 2k3 Server UK * DB : SQL Server 2005
    SAP Netweaver 2004s Application Java
    Hi All,
    Since a couple of days, I have a problem concerning authentication to the java apllication on a SAP Netweaver 2004s.
    Using the user ‘Administrator’, I CAN logon the Visual Administrator tool, with the same user I tried to logon via http://host:port/nwa without success.
    At the beginning, I was thinking about a problem of password then I enabled the emergency user SAP*, the problem was the same. Ok with Visual Administrator but not via http.
    Here is two logs found in folder : D:\usr\sap\SID\JC02\j2ee\cluster\server0\log\system\
         security.3.log
         <i>#1.5#001871E5EA3A00550000006D0000172800043B836D838427#1191335570983#/System/Security/Audit#sap.com/com.sap.security.core.admin#com.sap.security.core.util.SecurityAudit#Guest#0####5aac137070f411dcc513001871e5ea3a#SAPEngine_Application_Thread[impl:3]_11##0#0#Warning#1#com.sap.security.core.util.SecurityAudit#Plain###Guest     | LOGIN.ERROR     | null     |      | Login Method=[default], UserID=[Administrator], IP Address=[192.168.10.125], Reason=[Authentication did not succeed.]#</i>
         server.0.log
         <i>#1.5#001871E5EA3A0052000000130000172800043B835E3661D1#1191335314249#/System/Server/SLDService##com.sap.sldserv.SldServerFrame######c1a349a070f311dcaa68001871e5ea3a#SAPEngine_System_Thread[impl:5]_71##0#0#Warning#1#com.sap.sldserv.SldServerFrame#Plain###Failed to collect SLD data. Failed to send HTTP data: 401 : Unauthorized. Please check if the target SLD system is available and the SLD bridge is started there.#</i>
    &#61664; I tried to connect http://host:port/sld same problem User Authentication Failed
    <b>Do you have an idea for me? Why a user can connect via Visual Administrator and not via the http interface?</b>
    Thanks in advance
    Yves

    Hi,
    I found the solution this last week-end.
    This behavior let's thinking to a problem of authentication.
    But the problem was in SQL, an index was missing in table J2EE_CONFIG, called J2EE_CONFIG_I3
    Cheers
    Yves

Maybe you are looking for