• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    How can I configure Mango so that I can access with https instead of http

    User help
    4
    7
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ray
      last edited by

      I want to make the communication more secure to Mango through https instead of http. Can Mango do that ? How ? Thanks !

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        If you're using Mango 2.0.7 or later, you can enable SSL by creating your own keystore using the java keytool. To do this, you'll need a java JDK. Here are some basic instructions to generate a self-signed certificate in a manually created java keystore:

        1)Generate a keystore.
        a. Navigate to your /jdk home/bin/keystore.exe file (your operating system may differ! Sometimes ../lib/security/keystore)
        b. Run command (windows): keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass PASSWORD -validity 365 -keysize 1024
        c. Answer the questions.
        d. Keep key password the same as the keystore password (do not enter another password).

        2)Point Mango to the keystore.
        a.Move keystore.jks (created in the same folder as the keystore executable) to your /mango home/overrides directory.
        b.Edit env.properties in /mango home/overrides/properties (or ma.home/class/env.properties if you haven't moved it into your overrides directory) under the section “SSL control” to have the following lines (it should already have the lines, but not filled out):
        ssl.on=true
        ssl.port=443 (or another available port)
        ssl.keystore.location=[YOUR FULL MANGO PATH HERE]/overrides/keystore.jks
        ssl.keystore.password=[PASSWORD FROM 1B HERE]

        3)Start Mango

        4)Access your instance now at https://[YOUR URL HERE]

        1 Reply Last reply Reply Quote 0
        • R
          ray
          last edited by

          Thank you of your quick response. I have some version installed with 2.0.6. Does your procedure work ?

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            I do not believe so.

            1 Reply Last reply Reply Quote 0
            • ricardoR
              ricardo
              last edited by

              Hi Philip,

              We have a client on the 2.0.6. Is there a procedure to enable https (i.e. setting ssl.on=true)? Please advise.

              BR,
              Ricardo

              1 Reply Last reply Reply Quote 0
              • MattFoxM
                MattFox
                last edited by MattFox

                Nope, this would likely be for version 3 and above. You could try upgrading your version 2 to a higher version 2 but I'm not sure how well it will work. If https is a must, I'd advise configuring a proxy for mango using apache or nginx.

                Fox

                Do not follow where the path may lead; go instead where there is no path.
                And leave a trail - Muriel Strode

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post