HTTPS Insecure Resource Warning Fix (crossdomain.xml)

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    happy HTTPS Insecure Resource Warning Fix (crossdomain.xml)

    Hello Ragezone!
    I'm going to post a fix for the SSL problem with crossdomain.xml!
    First, a screen of the problem:


    If you want to fix this, follow these steps:
    1. Download RABCDAsm (RABCDAsm for RageZone)
    2. UnZip it and open the folder you will see this:

    3. Replace your habbo.swf in that foder
    4. Click on DECOMPILER.bat
    5. When it's done, press a key to exit
    6. Then open Notepad++
    7. The notepad++ that i use is in dutch, but do ctrl + f and click on Search in files
    8. Search for: "/crossdomain.xml" in your RABCDAsm folder

    9. After a few minutes, this is the result:

    10.You must go to the AdManager.class.asasm file
    11.Then you see this:

    12. Change "http://" to https://

    13. Save it and go back to the folder
    14. Open RECOMPILER.bat
    15. Test your new habbo.swf!

    Do you have questions?? Ask it!
    Does RABCDAsm not work? Place the problem in the help section.


    Greetz: Wesley




    Sorry for my bad english!


  2. #2
    iiiiiiiiiii Brought is offline
    MemberRank
    Aug 2013 Join Date
    469Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Great tutorial. Thank you very much.

  3. #3
    Apprentice Ben Crivelli is offline
    MemberRank
    Nov 2012 Join Date
    20Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    I knew it had something to do with the swfs.

    THANKS FOR THIS!!

    EDIT: Tried it, still doesn't work. Strange.... :l
    Last edited by Ben Crivelli; 03-10-15 at 04:53 AM.

  4. #4
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by Ben Crivelli View Post
    I knew it had something to do with the swfs.

    THANKS FOR THIS!!

    EDIT: Tried it, still doesn't work. Strange.... :l
    Do you have it recompiled correct?? The second is, what i forgot to say in the tutorial... In external variables : ads.domain must be your main hotel domain name. For example: myhotelname.com

    If it don't works, please make a screen of the error in the console

  5. #5
    Apprentice Ben Crivelli is offline
    MemberRank
    Nov 2012 Join Date
    20Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by wesley66101 View Post
    Do you have it recompiled correct?? The second is, what i forgot to say in the tutorial... In external variables : ads.domain must be your main hotel domain name. For example: myhotelname.com

    If it don't works, please make a screen of the error in the console






    I cleared cached, and compiled it correctly.
    I don't see what the problem is. Strange...

  6. #6
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Nice tutorial, Wesley. It should be noted though for clarification, this "error" is actually a warning. It won't prevent the crossdomain file from being loaded, Chrome just doesn't like it. It's considered a potential security issue. That being said, it's not really a big deal if someone sends a modified crossdomain.xml file using a proxy to your client. They're the only ones that get that content, and they can't really do anything with it.

    Useful explanation of editing the code, but not really something people need to do for their hotels unless they're particularly picky.

  7. #7
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by scottstamp851 View Post
    Nice tutorial, Wesley. It should be noted though for clarification, this "error" is actually a warning. It won't prevent the crossdomain file from being loaded, Chrome just doesn't like it. It's considered a potential security issue. That being said, it's not really a big deal if someone sends a modified crossdomain.xml file using a proxy to your client. They're the only ones that get that content, and they can't really do anything with it.

    Useful explanation of editing the code, but not really something people need to do for their hotels unless they're particularly picky.
    Hello,
    TNX! The main reason why i want to share it is because you will get a SSL warning in the URL bar.

  8. #8
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Really? That shouldn't occur, since the assets are loaded after the page. I haven't noticed the behavior but I'm fairly sure it shouldn't happen. Sounds like it's more likely another asset, one related to the page itself (JavaScript, CSS, images, etc) which is loading over HTTP.

    Do you have any examples of this happening? I'll happily take a look.

  9. #9
    Valued Member wesley66101 is offline
    MemberRank
    Oct 2013 Join Date
    105Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by scottstamp851 View Post
    Really? That shouldn't occur, since the assets are loaded after the page. I haven't noticed the behavior but I'm fairly sure it shouldn't happen. Sounds like it's more likely another asset, one related to the page itself (JavaScript, CSS, images, etc) which is loading over HTTP.

    Do you have any examples of this happening? I'll happily take a look.
    First, the SSL icon is fully green, then everythings loads in the client... And when the crossdomain loads the icon change to a warning icon
    I'm 100% sure its due to crossdomain but i can reproduce it if you want!

    Do you have Skype? Thats a way more easier to show!

    Greetz: Wesley

  10. #10
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    I just very simply added "ads.domain=" to my override_variables file.

    And it did the trick (overrides as I just use .com's variables when I update), its much simpler than modifying the SWF.

  11. #11
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by wesley66101 View Post
    First, the SSL icon is fully green, then everythings loads in the client... And when the crossdomain loads the icon change to a warning icon
    I'm 100% sure its due to crossdomain but i can reproduce it if you want!

    Do you have Skype? Thats a way more easier to show!

    Greetz: Wesley
    Ah, I get you now. Didn't realize Chrome inspected that data for Flash but it makes sense. The same thing happens if JavaScript loads in an asset over http after the page load. Sledmore's suggestion sounds like an easier workaround, I'm surprised it works though, Flash is usually forced to obey crossdomain over anything else, it's a security thing.

    Thanks for the explanation.

  12. #12
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by scottstamp851 View Post
    Ah, I get you now. Didn't realize Chrome inspected that data for Flash but it makes sense. The same thing happens if JavaScript loads in an asset over http after the page load. Sledmore's suggestion sounds like an easier workaround, I'm surprised it works though, Flash is usually forced to obey crossdomain over anything else, it's a security thing.

    Thanks for the explanation.
    Yeah, it's not really been explained properly in this thread - but the whole thing is just related to Habbos in-game adverts (I think, which if so they're long, long, long gone, and not the ones called via their habblet widgets), the code in the SWF just checks if the property ads.domain isn't null, if it isn't null it'll call the crossdomain file so it's just easier to give it a null value.

    I'm going to guess that this system isn't even in use as Habbo have 'interstitial.enabled' set to false in their variables.

    Screenshot on 10.8.2015 at 4.51.15 PM.png • Droplr
    Last edited by Sledmore; 08-10-15 at 05:56 PM. Reason: Had to make a new sentence, OCD sent me loopy.

  13. #13
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Quote Originally Posted by Sledmore View Post
    Yeah, it's not really been explained properly in this thread - but the whole thing is just related to Habbos in-game adverts (I think, which if so they're long, long, long gone, and not the ones called via their habblet widgets), the code in the SWF just checks if the property ads.domain isn't null, if it isn't null it'll call the crossdomain file so it's just easier to give it a null value.

    I'm going to guess that this system isn't even in use as Habbo have 'interstitial.enabled' set to false in their variables.

    Screenshot on 10.8.2015 at 4.51.15 PM.png • Droplr
    They're using the crossdomain now because they load some image assets in from a separate domain, like photos or public room backgrounds. ;)

  14. #14
    Proficient Member Jacob Lucado is offline
    MemberRank
    Dec 2011 Join Date
    Roanoke, VALocation
    187Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Much easier to use JPEX to do this.

  15. #15
    Apprentice DinamicUser is offline
    MemberRank
    Dec 2013 Join Date
    ItalyLocation
    19Posts

    Re: [FIX] SSL error fix (crossdomain.xml)

    Work.
    Thank you! :)

    Spoiler:





Page 1 of 2 12 LastLast

Advertisement