"How can I run RapidMiner Server with HTTPSSSL"

User13User13 Member Posts: 155 Maven
edited May 2019 in Knowledge Base

To enable SSL encrypted connection to RapidMiner Server, follow these steps:

  1. Obtain an SSL certificate from a CA of your choice. Your company may already have one. The certificate must be available as a PKCS12 keystore. (In what format you receive the certificate unfortunately depends on the CA. Consult their documentation on how to convert the certificate to PKCS12.) Note that SSL certificates are issued per domain or host name. Make sure the hostname of the certificate matches the hostname of your RapidMiner Server installation or many browsers will show warnings or even block access entirely.

  2. Import that certificate into your Java keystore. The Java tool to do that is called keytool. It can be executed by calling

    keytool -importkeystore -destkeystore rms.keystore -srckeystore yourkeystore.p12 -srcstoretype PKCS12 -srcalias alias -destalias rms -trustcacerts
  3. Copy the generated rms.keystore to the folder /standalone/configuration in your RapidMiner Server installation directory.

  4. Edit the file standalone/configuration/standalone.xml in your RapidMiner Server installation directory. Locate the
    <connector name="http" ... />
    tag. Uncomment the following snippet directly below it and edit the password to match the one of your keystore:

    <!-- <connector name="https" scheme="https" protocol="HTTP/1.1" socket-binding="https" enable-lookups="false" secure="true"> <ssl name="ssl" password="secret" protocol="TLSv1" key-alias="rms" certificate-key-file=" ${jboss.server.config.dir}/rms.keystore" /> </connector> -->

    To uncomment it, remove the

Sign In or Register to comment.