SSL Connection between RapidMiner and RapidAnalytics

tatsuhotatsuho Member Posts: 3 Contributor I
edited November 2018 in Help
Hi,

I'm a beginner of RapidAnalytics. I have a question about RapidAnalytics CE.
Does RapidAnalytics support SSL repository access, i.e. https, from RapidMiner?
I know that database can be access with SSL.

I'm sorry if someone has already asked the same question.

Thanks in advance.
Tagged:

Answers

  • championchampion Member Posts: 8 Contributor II
    Hi! Are you found decision? This question is very important for me.
  • JEdwardJEdward RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 578 Unicorn
    Hello tatsuho. 

    I can confirm that yes it does. 
    I used to use connect with SSL connection to the RA server hosted in Germany via my RM console in the UK and it works exactly as you would expect it to. 

    Best,
    John.
  • tatsuhotatsuho Member Posts: 3 Contributor I
    Hi,

    Thank you for your response.
    Could you describe me how to set RapidAnalytics server work over SSL?

    Thanks,

    tatsuho
  • championchampion Member Posts: 8 Contributor II
    So.. I found not so good solution but it works.

    You can pass traffic to RA through Nginx. In nginx set proxy and pattern replace for these url's

    in this example RA looks on 8090 port

     
         location = /RAWS/RepositoryService {
                   proxy_pass      http://127.0.0.1:8090;
                   sub_filter_types text/xml;
                   sub_filter "http://rapida.localhost.dom:80" "https://rapida.localhost.dom";
                   sub_filter_once off;
           }

           location = /RAWS/ProcessService {
                   proxy_pass      http://127.0.0.1:8090;
                   sub_filter_types text/xml;
                   sub_filter "http://rapida.localhost.dom:80" "https://rapida.localhost.dom";
                   sub_filter_once off;
           }

           location = /RAWS/RAInfoService {
                   proxy_pass      http://127.0.0.1:8090;
                   sub_filter_types text/xml;
                   sub_filter "http://rapida.localhost.dom:80" "https://rapida.localhost.dom";
                   sub_filter_once off;
           }


           location = /RAWS/ManagementService {
                   proxy_pass      http://127.0.0.1:8090;
                   sub_filter_types text/xml;
                   sub_filter "http://rapida.localhost.dom:80" "https://rapida.localhost.dom";
                   sub_filter_once off;
           }


           location = /RAWS/ProcessService_1_3 {
                   proxy_pass      http://127.0.0.1:8090;
                   sub_filter_types text/xml;
                   sub_filter "http://rapida.localhost.dom:80" "https://rapida.localhost.dom";
                   sub_filter_once off;
           }
    And some good guys told what will be good to set in Jboss (server.xml) httpProxy parameter, like as

    <Connector protocol="HTTP/1.1" port="8090" address="0.0.0.0"
            redirectPort="8443"
            enableLookups="false" disableUploadTimeout="true"
            proxyName="rapida.localhost.dom"
            scheme="https"
            proxyPort="443"
            URIEncoding="UTF-8"/>
    I hope that this information will be useful.
Sign In or Register to comment.