Skip to main content
Druva Documentation

How to configure SSO for a Phoenix Cloud administrator using JumpCloud as IdP

This article applies to:

  • Product edition: Phoenix
  • Only a Druva Cloud administrator can set up Single Sign-on. 
  • Configure Single Sign-on based on the applicable scenarios:
  • Druva recommends generating the SSO token only once. If the token is generated again, the older SSO token registered with the IdP becomes invalid. Hence, if you generated a new SSO token, update the IdP details accordingly.

 

Configure a custom Druva app for Phoenix on JumpCloud portal

ConfigCustAppJumpCloud.png

To configure a custom app:

  1. Log in to the JumpCloud Admin Portal: https://console.jumpcloud.com.
  2. Go to Applications  and click  PlusIcon.png  to configure a new application.
  3. Search for SAML.
  4. Click Configure.

Configure JumpCloud Single Sign-On

Under the Configure SAML section, there are several configurable fields. Only the required configurations are specified below and the rest can be omitted with their default values.

Provide the values for the fields as described below:

  1. DISPLAY LABEL: Enter the name for the Application. For example, Druva or Druva App. 

    SAMLConfig1.png
  2. IDP ENTITY ID: This is the unique, case-sensitive identifier used by JumpCloud for the service provider. This is a mandatory field, although the value supplied to this field is not required on the Service Provider end. For example, you can enter jumpcloud-druva.
  3. IDP PRIVATE KEY and IDP CERTIFICATE: Generate a public certificate and private key pair to connect Druva application to JumpCloud with the below steps.

    Windows users
    1. To create a certificate, install OpenSSL. Download and install the latest version of OpenSSL (full installation) from: http://slproweb.com/products/Win32OpenSSL.html

      OpenSSL requires Visual C++ 2008 redistributables, which are available from the same website. The bitness of Visual C++ depends on the bitness of the downloaded openSSL.
    2. Once the OpenSSL is installed, navigate to OpenSSL directory and run the following command:

      Set OPENSSL_CONF=c:\openssl-win64\bin\openssl.cfg
      This command sets the location for OpenSSL configuration file.
    3. Download the openssl.cnf file using the link https://jumpcloud.desk.com/customer/...cnf?1565716806 and rename the downloaded file to openssl.cnf and then place it in the below path.

      C:\<Installation path of Software>\openssl-win64\bin
    4. From the command prompt run openssl.exe
    5. From the OpenSSL> command prompt, run the following commands to generate a new private key and public certificate.

      OpenSSL> genrsa -out myprivatekeytest.pem 2048

      OpenSSL> req -new -x509 -key myprivatekeytest.pem -out mypublic_certtest.pem -days 3650 -config .\openssl.cnf

       
    6. Fill out the form to complete the certificate creation. The form appears similar to the screenshot below:

      This generates the key valid for 3650 days. Once it expires it has to be generated again.

      ConfigJumpCSSOWin.png

      This operation generates a key pair from which myprivatekeytest.pem can be used as IdP Private key and mypublic_certtest.pem can be used as IdP certificate.

       
    7. Click Upload IdP Private Key browse and select the myprivatekeytest.pem file from the directory C:\<Installation path of Software>\openssl-win64\bin and click Open .
       
    8. Click Upload IdP Certificate browse and select the mypublic_certtest.pem file from the directory C:\<Installation path of Software>\openssl-win64\bin and click Open.
       
    MAC/Linux users
    1. Open the terminal for Linux or Mac and run the following commands: 

      openssl genrsa -out private.pem 2048

      openssl req -new -x509 -sha256 -key private.pem -out cert.pem -days 1095

       
    2. Fill out the form to complete the certificate creation. It will appear similar to the screenshot below:

      ConfigJumpCSSOMacLinux.png

      This generates the key which is valid for 1095 days. Once it expires, it has to be generated again.
       
    3. Click Upload IdP Private Key browse and select the private.pem file and click Open.
       
    4. Click Upload IdP Certificate browse and select the cert.pem file and click Open.
       
  4. SP ENTITY ID: Enter druva-phoenix in this field.

    SSOConfigAdmin.png
  5. ACS URL: Enter https://phoenix.druva.com/wrsaml/consume.
  6. SAMLSUBJECT NAMEID & SAMLSUBJECT NAMEID FORMAT: Retain the default selection of email &  urn:oasis:names:tc:saml:1.0:nameid-format:unspecified respectively.
  7. CONSTANT ATTRIBUTES: Click +add attribute button and add the constant attribute.   In the Name field, enter the phoenix_auth_token and in the Value field enter the SSO token generated from the admin console. (How to generate an SSO token).

    SAMLGovCloudConfig3.png
  8. GROUPS ATTRIBUTE NAME: Leave this field entry as memberOf.
  9. SIGNATURE ALGORITHM: Retain entry as RSA-SHA256.
  10. IDP URL: The default value of this field is  https://sso.jumpcloud.com/saml2. Provide a unique name after this field as shown below.

https://sso.jumpcloud.com/saml2/<Enter a unique name>
Sample: https://sso.jumpcloud.com/saml2/druvasso

Configure Phoenix to use JumpCloud login

To configure Single Sign-on follow the below steps:

  1. Log in to https://login.druva.com as an administrator.
  2. Go to GearIconNew.png >  Phoenix Settings.
  3. Open the Single Sign-On tab and click Edit.
  4. On the Single Sign-On Settings window, add the details as described below:
    • ID Provider Login URL: Enter the URL created in the step 10 of the second section.
    • ID Provider Certificate: Open your mypublic_certtest.pem in a Notepad and copy its content to this field. The file was generated in step 3 of the second section.
  5. Retain the default values in the remaining fields and click Save.

Assign Users/Groups in JumpCloud to use Druva app

Create a user

  1. Click Users in JumpCloud console.
  2. Click the PlusIcon.png  plus icon.

    CreateUsers.png
  3. Fill the mandatory details like Username and Company email address.
  4. Click Save user.

Create Groups

  1. Click Groups.
  2. Click the PlusIcon.png  plus icon and select Create Group of Users

    CreateGroups.png
  3. Enter the name to the group.
  4.  Open the Users tab.

    CreateJSGroups.png
  5. Select the users you want to assign to this group.

Assign Application to the users

  1. Open the group created before.
  2. Open the Applications tab.
  3. From the list of applications, select Druva.

AssignApptoUsers.png

Enable SSO for administrators

  1. Login to https://login.druva.com.
  2. Click the Druva logo DruvaLogoNew.png > Druva Cloud Settings. The Access Settings page opens.

    DruvaCloudSettings.png
  3. On the Single Sign-On section, click Edit.
  4. Select Administrators log into Druva Cloud through SSO provider under Access Control section.

    AccessControl.png
  5. Click Save.

 

 Druva recommends to enable Allow failsafe access to Druva Cloud administrators. A Failsafe Administrator can use both Single Sign-On and Phoenix administrator credentials to access the inSync Management Console. This is useful to gain access to the console to resolve the configuration issues.